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

Mar
2
comment In Vim, what's an elegant way to grab output from the command-line?
I also didn't know you could manually set registers like let @a = 'foo'. One cool idea would be, after doing a search and replace, you could save the search term to a register for pasting elsewhere by doing let @a = @/ - "make the a register contain what the / register contains, namely, my last search."
Mar
2
comment In Vim, what's an elegant way to grab output from the command-line?
Also - I didn't know about the system call. That's awesome!
Mar
2
comment In Vim, what's an elegant way to grab output from the command-line?
After looking at the help and experimenting, I see that 1) :r is short for "read" (so you can type out 'read' or just 'r' and it's the same command), and 2) doing :r path/to/foo.txt will insert the contents of that file after the cursor.
Mar
1
comment In Vim, what's an elegant way to grab output from the command-line?
Awesome! Thank you!
Mar
1
accepted In Vim, what's an elegant way to grab output from the command-line?
Mar
1
asked In Vim, what's an elegant way to grab output from the command-line?
Feb
23
revised How to search for one of two similar strings in Vim?
deleted 187 characters in body
Feb
23
comment How to search for one of two similar strings in Vim?
Ah! I wasn't escaping the parentheses when I tried this. Interesting - I thought I only had to escape literal characters.
Feb
23
accepted How to search for one of two similar strings in Vim?
Feb
23
comment How to search for one of two similar strings in Vim?
@molsecules - right, thanks. I updated the question.
Feb
23
revised How to search for one of two similar strings in Vim?
deleted 1 characters in body
Feb
23
revised How to search for one of two similar strings in Vim?
added 165 characters in body
Feb
23
asked How to search for one of two similar strings in Vim?
Feb
21
asked Can I get vim to correctly indent this Ruby code (Nokogiri)?
Feb
21
comment Macbook : Replacing RAM while on hibernate?
Really? Is it more of a bother to have a broken computer? As infrequently as you upgrade RAM, why not take the time to turn the thing off? I mean seriously, if I were doing this, I'd be careful about static electricity. No way would I have actual electricity running through my $1,000 machine.
Feb
19
awarded  Popular Question
Feb
17
comment Using JSLint with Syntastic in Vim
Yep - that works! Thank you.
Feb
17
accepted Using JSLint with Syntastic in Vim
Feb
17
asked Using JSLint with Syntastic in Vim
Feb
15
comment Is it possible to not trigger my normal search highlighting when using search as a movement?
I don't quite get it. What do you type and what happens?