Reputation
5,680
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
11 49 98
Impact
~722k people reached

Feb
14
comment Is it possible to not trigger my normal search highlighting when using search as a movement?
Actually, I've got an even shorter shortcut for "clear my current search highlighting": I just hit enter if I'm in normal mode. This line is in my .vimrc: :nnoremap <CR> :nohlsearch<CR>/<BS>. It clears the highlighting, starts a new search, and then backspaces to abort the search (thereby clearing the search bar so things look normal again.) This is pretty easy, but I'm so lazy that if I could avoid even having to hit enter, I would like that. :)
Feb
14
accepted Vim lint check - only show message if there's an error
Feb
12
awarded  Famous Question
Feb
11
revised Is it possible to not trigger my normal search highlighting when using search as a movement?
added 14 characters in body
Feb
11
comment How do I change until the next underscore in VIm?
That is fantastic! Thank you!
Feb
10
revised How do I change until the next underscore in VIm?
edited body
Feb
10
comment How do I change until the next underscore in VIm?
I do want search terms to be highlighted most of the time; just not when I use search as a movement. (I also just asked this question: superuser.com/questions/244042/…)
Feb
10
asked Is it possible to not trigger my normal search highlighting when using search as a movement?
Feb
10
asked How do I change until the next underscore in VIm?
Feb
10
awarded  Citizen Patrol
Feb
8
comment Vim lint check - only show message if there's an error
When I do this, I don't see error output, either. Do you?
Feb
8
comment How can I switch from forward to backward search in Vim?
Hmmm, and apparently, ? or / followed by the up key cycles through a common history for the two. I thought each had their own history.
Feb
8
comment How can I switch from forward to backward search in Vim?
Wow, that was way easier than I thought. :) Thanks!
Feb
8
accepted How can I switch from forward to backward search in Vim?
Feb
8
asked Vim lint check - only show message if there's an error
Feb
7
answered Programmer's text editor with vertical split view for Mac OS X
Feb
1
comment What Vim features do you use?
Note my comment below, and you won't even have to type gv. :)
Feb
1
comment What Vim features do you use?
Note that the % is where to do the substitution - % means "the current file." If you visually highlight some lines and type :s, you can do a substitution just in that selection.
Feb
1
comment What Vim features do you use?
That works if your cursor is on the beginning {. If you're inside the block, you can do =i{, for "indent inside the curly braces."
Feb
1
revised What Vim features do you use?
added more ways to use = indenting