Re:Extreme Productivity with Screen and Vim
by slmbrhrt on Friday August 27, 2010 @02:30PM
(#1639663)
This is the first stanza of my vimrc.
I use :sp and :vsp a lot. My capslock key is mapped to behave like left control.
The result is moving between files is a matter of holding capslock and pressing hjk or l.
I argue it's a lot faster than using a mouse or even control and pageup/down in a tab-based IDE.
For opening new files, tab completion is a godsend, and then there's other bonuses to using vim, like
:!grep "def functionImLookingFor" lib/*.py
and, when I'm sifting through logfiles for patterns, :%!grep has become one of my most often used tools.
[ Parent
| on HN ]
Any reason you're using :!grep rather than the built in ctags support? I've found the latter to be very useful but maybe I'm missing some functionality.
Re:Extreme Productivity with Screen and Vim
by slmbrhrt on Friday August 27, 2010 @02:57PM
(#1639779)
Most of the time I'm not searching for function definitions across the whole base. This is just an example.
That, and I haven't really fooled around with ctags much, though I've been meaning to for the longest time. No time like the present, I guess.