471 reputation
35
bio website
location New York, NY
age
visits member for 3 years, 9 months
seen Dec 18 at 22:06

Jun
30
awarded  Yearling
Feb
11
awarded  Enlightened
Feb
11
awarded  Nice Answer
Jan
15
comment No syntax highlight on .md files?
"Is .md the wrong extension?" The creator of Markdown commented on this very topic recently.
Jul
22
answered How can I show line numbers relative to the current one in Vim?
Apr
5
comment VIM disable highlighting upon search deletion
:noh is more "correct", though I agree that it's a pain to type. That's why I have it mapped to a shortcut key. I have map <F5> :nohls<CR> in my .vimrc, but which key you use is up to you. I picked <F5> because I use this so much it made sense to pick a prominent, single key.
Mar
7
awarded  Yearling
Mar
6
comment How to have a static view of the same file?
Ah, very nice garyjohn. I was missing # as "alternate file name" (see :help :_#). 0d_ is a nice touch too.
Mar
6
revised How to have a static view of the same file?
scratch buffer
Mar
6
answered How to have a static view of the same file?
Jan
9
comment vim -R /dev/random
The - at the end makes vim accept input from stdin. I often do things like grep pattern file.txt | vim -R - so that I can then use vim's search on my grep results.
Dec
2
comment Possible to use modal editing inside Vim's command-line mode?
You can also get to the "Command-line window" by typing q:. If you want the same thing for searching, q/ and q? are analogous. Ctrl-F also works in the middle of a / or ? search. To see the full documentation, run :help cmdline-window in vim.
Nov
11
comment Pasting into vim from GUI results in missing lines
You may also want to :set paste before pasting so that special indenting triggers don't affect the text you're pasting. When you've finished, :set nopaste to go back to ordinary behavior.
Jun
10
answered non-destructive piping in vim?
Apr
30
answered Does this write to stdout or stdin?
Apr
14
awarded  Editor
Apr
14
revised Vim: can I disable continuation of comments to the next line?
More thorough answer.
Apr
14
answered Vim: can I disable continuation of comments to the next line?
Mar
11
answered Repeating through lines in vim
Mar
10
awarded  Citizen Patrol