Comments on: How I learned to stop worrying and love Vim buffers http://eseth.org/2007/vim-buffers Making close friends suffer through crappy writing since aught-one. Wed, 21 May 2008 19:14:37 +0000 http://wordpress.org/?v=2.0.2 by: Peter http://eseth.org/2007/vim-buffers#comment-22197 Mon, 07 Apr 2008 15:40:18 +0000 http://eseth.org/2007/vim-buffers#comment-22197 <p>You’ve shown several nice ways of jumping between buffers. I’ve mapped \b in command mode to open the list of buffers and wait for me to select a number and hit enter:</p> <pre>map \b :ls:e #</pre> <p>Works for me.</p> You’ve shown several nice ways of jumping between buffers. I’ve mapped \b in command mode to open the list of buffers and wait for me to select a number and hit enter:

map \b :ls:e #

Works for me.

]]>
by: Alan Jurgensen http://eseth.org/2007/vim-buffers#comment-20734 Tue, 11 Dec 2007 17:14:48 +0000 http://eseth.org/2007/vim-buffers#comment-20734 <p><p>Welcome to VIM world... you will never want to stop using it. I guess I could be considered an oldguy when it comes to using VI... Here are my favorite VIM features: 1. Unlimited undo 2. macros 3. vertical select/cut/paste 4. key mappings. Favorite key mappings:</p> <pre> " Duplicate Ctrl-A "increment" mapping: map + " Display "Handy Listing" of files we've edited this session: map - :files:e# " Edit file-name under cursor: map _ :e " c style comment out line map co i/* A awj */ " c style un-comment out line map cu xxx$6hD " insert mode abbreviations. Hit tab after the iab string: iab Xmod Written: Xdate By: AWJ iab Xdate =strftime("%d/%m/%y %H:%M:%S") </pre>

Welcome to VIM world… you will never want to stop using it. I guess I could be considered an oldguy when it comes to using VI… Here are my favorite VIM features: 1. Unlimited undo 2. macros 3. vertical select/cut/paste 4. key mappings. Favorite key mappings:

" Duplicate Ctrl-A "increment" mapping:
map +   
" Display "Handy Listing" of files we've edited this session:
map -   :files:e#
" Edit file-name under cursor:
map _ :e
" c style comment out line
map co i/* A awj */
" c style un-comment out line
map cu xxx$6hD
" insert mode abbreviations. Hit tab after the iab string:
iab Xmod Written: Xdate By: AWJ
iab Xdate =strftime("%d/%m/%y %H:%M:%S")
]]>
by: whiteinge http://eseth.org/2007/vim-buffers#comment-9601 Wed, 11 Apr 2007 04:27:41 +0000 http://eseth.org/2007/vim-buffers#comment-9601 <p>Using different editors "just for variety" is the real hardcore, Matt! :-)</p> Using different editors “just for variety” is the real hardcore, Matt! :-)

]]>
by: Matt http://eseth.org/2007/vim-buffers#comment-9471 Mon, 09 Apr 2007 14:58:57 +0000 http://eseth.org/2007/vim-buffers#comment-9471 <p>Seth, you are hard core! I know enough vi[m] to get around in a pinch, but you have crossed over to the devotee side of the line (not that there's anything wrong with that). I admire your tenacious spirit. :) Oh, and I'm jealous that you get to use vim. I'm going to be even more in the other camp at my new job, but it pays the bills--and I should run something else at home just for variety.</p> Seth, you are hard core! I know enough vi[m] to get around in a pinch, but you have crossed over to the devotee side of the line (not that there’s anything wrong with that). I admire your tenacious spirit. :) Oh, and I’m jealous that you get to use vim. I’m going to be even more in the other camp at my new job, but it pays the bills—and I should run something else at home just for variety.

]]>