Reputation
6,159
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
12 51 102
Impact
~818k people reached

Mar
2
suggested approved edit on gvim tag wiki excerpt
Mar
2
asked In Vim, what is Control + W for in insert mode?
Mar
2
comment How can I use my local copy of Vim on a server?
Pulling the latest with cron is a neat idea. I guess each user on the server could have their own .vimrc synced to their home directory...
Mar
2
comment Is there an easier-to-reach mapping for ESC in Vim?
Interesting. What are the cases where CTRL-C is different?
Mar
2
asked How can I use my local copy of Vim on a server?
Mar
2
comment Is there an easier-to-reach mapping for ESC in Vim?
I know that Control + [ does the same thing, but that's not really easier for me.
Mar
2
asked Is there an easier-to-reach mapping for ESC in Vim?
Mar
2
comment How can I batch rename files in bash?
This isn't the most concise way, but I do appreciate the readability and explanation. If I'm going to do this from the command line, I'd rather type what chrish shows, but if I were saving it as a script, I'd definitely use your way for readability.
Mar
2
comment How can I batch rename files in bash?
Nice - the most concise way so far.
Mar
2
accepted How can I batch rename files in bash?
Mar
2
asked How can I batch rename files in bash?
Mar
2
comment How do I change until the next underscore in VIm?
It's great to know that I can define my own word boundaries, but after some thought, I think the best solution is ct_ as doubleface says below, since it's concise and is default vim behavior.
Mar
2
comment How do I change until the next underscore in VIm?
ct_ is exactly what I wanted. This has now become part of my regular workflow. Thanks!
Mar
2
accepted How do I change until the next underscore in VIm?
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?