philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.62k stars 2.49k forks source link

Search bug and a suggestion: Yanking text after searching. #470

Closed djoot closed 12 years ago

djoot commented 12 years ago

After searching, it would be useful to yank the text in the element or line you have moved to. Now when I search the first match is cut into the clipboard, typing: /no would put No in the clipboard if the first match is in the word Now.

I think i just found a bug entering this text. If I exit insert mode with <ESC> and type in: /now Then I get thrown into insert mode again with the word ''Now" replaced by 'w', and any subsequent characters entered in the search term. If the subsequent characters match more text in the input box then that also gets erased.

djoot commented 12 years ago

Oh, the first matched text goes into primary selection, because it selects text. It does not get cut into the 'clipboard'.

philc commented 12 years ago

Thanks for the feature suggestion. I don't think this is high enough priority for the near term, and in the interest of keeping the bug queue clean I'm going to close this ticket.

I'm not able to reproduce the bug you've described.

djoot commented 12 years ago

On Sun, Feb 12, 2012 at 10:40:54PM -0800, Phil Crosby wrote:

Thanks for the feature suggestion. I don't think this is high enough priority for the near term, and in the interest of keeping the bug queue clean I'm going to close this ticket.

I'm not able to reproduce the bug you've described.

Thanks for vimium, I use it all the time now :)

I just tried it on my windows machine to see if I could reproduce it, and had no problems doing that. Maybe I was unclear when describing the bug. Here is how I now reproduced it:

  1. opened http://www.webcom.com/html/tutor/forms/start.shtml
  2. typed in: 'Drastic djoot' in the first form
  3. normal mode:
  4. search mode: '/'
  5. typed in search string: drastic

Result: 'stictic djoot' is now in the first form

Windows XP Chrome 17.0.963.56 m Vimium 1.30

//Peace, djoot