Reputation
7,486
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
18 59 108
Impact
~1.2m people reached

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
Feb
1
comment What Vim features do you use?
@Frew - yep. Also, if you add vmap <Tab> >gv and vmap <S-Tab> <gv to your .vimrc, you can indent and unindent with Tab and Shift-Tab, respectively, AND it will go right back into visual selection mode so you can indent or unindent further.
Feb
1
asked How can I switch from forward to backward search in Vim?
Feb
1
revised How can I discard my undo history in vim?
removed bounty note
Jan
25
comment Vim golf: Fix a broken CSV
Thanks for your help! I accepted Dennis Williamson's answer because it's shorter, but both of you gave good working solutions. I'll ask you the same question I asked him: I didn't know you could pass the results of :g to a substitution - do you know where I can read more on this?
Jan
25
comment Vim golf: Fix a broken CSV
Great! Two things: I didn't know you could pass the results of :g to a substitution - do you know where I can read more on this? 2) Does the | separator here work like it does in bash - pipe the output of the first command to the input of the second?
Jan
25
accepted Vim golf: Fix a broken CSV
Jan
25
accepted What are the practical limits on file extension name lengths?
Jan
25
revised How can I discard my undo history in vim?
added 166 characters in body; edited tags
Jan
21
comment Vim golf: Fix a broken CSV
Actually, I think that it is OK to do this on every line, in which case I can just run my macro on the whole file. But I'm still interested in seeing an answer.
Jan
21
asked Vim golf: Fix a broken CSV