Re: Analog to SHIFT+Asterisk

2010-07-01 Thread Hoss
Great. Exactly what I was looking for. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Analog to SHIFT+Asterisk

2010-07-01 Thread BC
On Jun 30, 6:29 pm, Hoss todd.fr...@gmail.com wrote: (I know I can just shift+N afterwards, to get back where I was. Something more elegant?) Shift+N may be inelegant (why? I don't understand that) but I don't see what would be wrong with a simple mapping like this: :map A *N Doesn't

Re: Analog to SHIFT+Asterisk

2010-07-01 Thread Gary Johnson
On 2010-07-01, BC wrote: On Jun 30, 6:29 pm, Hoss todd.fr...@gmail.com wrote: (I know I can just shift+N afterwards, to get back where I was. Something more elegant?) Shift+N may be inelegant (why? I don't understand that) but I don't see what would be wrong with a simple mapping

Analog to SHIFT+Asterisk

2010-06-30 Thread Hoss
Esteemed Vim Users, One of the useful key combinations in vim is shift+asterisk, which will locate the word your cursor is on, and put that word into your / buffer (surrounded by \\ word boundaries). This has the effect of highlighting all occurrences of that word. It also has the effect of

Re: Analog to SHIFT+Asterisk

2010-06-30 Thread Benjamin R. Haskell
On Wed, 30 Jun 2010, Hoss wrote: Esteemed Vim Users, One of the useful key combinations in vim is shift+asterisk, which will locate the word your cursor is on, and put that word into your / buffer (surrounded by \\ word boundaries). This has the effect of highlighting all occurrences of

RE: Analog to SHIFT+Asterisk

2010-06-30 Thread John Beckett
Hoss wrote: Is there an analogous key combination, that will highlight the current word, WITHOUT moving my cursor? See this tip: http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches John -- You received this message from the vim_use maillist. Do not top-post! Type your reply below