Earlier quoted context omitted.
gt and gT in command mode also do next tab and previous tab
also #gt will go that tab number. I've changed my tab text to show the number in parenthesis before the name.
Efficient Editing With vim
91–100 of 125 posts
Re: Efficient Editing With vim
#92Earlier quoted context omitted.
also #gt will go that tab number. I've changed my tab text to show the number in parenthesis before the name.
For those who prefer alt navigation, you can add to your gvimrc " tab navigation map 1gt map 2gt map 3gt map 4gt map 5gt map 6gt map 7gt map 8gt map 9gt map 10gt
Re: Efficient Editing With vim
#93vi is my favorite Rogue-like, with NetHack in close second, and my own http://DeadByZombie.com in third. vi is the only Rogue-like where you can get real work done with it. And every time you learn a new trick it's like your XP level or attribs go up, or you've descended down to a new more evil level of the dungeon, with more powerful monsters to fight with your enhanced vi-fu.
I will never look at the king of all editors quite the same way. You have my thanks, mkramlich. May your life be long and prosperous.
(I totally didn't mean that to sound like a Vulcan blessing, I swear.)
Re: Efficient Editing With vim
#94Earlier quoted context omitted.
Another nice script I discovered recently is Nerd Tree : http://www.vim.org/scripts/script.php?script_id=1658
Nerd Tree is indeed a good one, and I'll add to this vimfs, which isn't a Vim plugin but rather a CLI file system browser with Vim bindings. I hardly ever actually browse my file system (zfs, grep, and locate do all of the work for me), so I'm not sure how much mileage one can get out of this (especially compared to something like Midnight Commander).
Re: Efficient Editing With vim
#95I feel silly for only recently discovering tabs in vim. :tabnew file Opens up a new tab, :tabn Goes to the next tab, and :tabp Goes to the previous tab. Works great in both gui and non-gui mode.
gt and gT in command mode also do next tab and previous tab
Maybe that's just me, though.
Re: Efficient Editing With vim
#96Warning: learning Vim makes you look for Vim like commands in any program you interact with using the keyboard. Everything else will be frustrating.
Have you tried vim like browsing? http://vimperator.org/trac/wiki/Vimperator For keyboard lovers.
For the best navigating experience, I feel Opera does really well. You keep one hand on the keyboard (nearing 1, 2 to switch tab; and z, x to move back & forth in history) and one hand on the mouse to click around & do gestures.
Re: Efficient Editing With vim
#97Earlier quoted context omitted.
plus I still have to see a use for it. Usually I just go linewise or, inside a line, with movements like f) or $.
It's mostly useful for ASCII diagrams, in conjunction with overwrite mode.
Re: Efficient Editing With vim
#98Re: Efficient Editing With vim
#99A decent intro; I'd add to the movement section these: g$ - move cursor to last displayed character of line Tx - move cursor backward and to the right of the first occurrence of x (reverse of tx) And get started with split views: ^ws - horizontal split view ^wv - vertical split view ^w{h,j,k,l} - move to window in respective direction Some decent scripts to get started with: minibufexpl.vim: http://www.vim.org/script…
W - move forward a Word
B - move backward a Word
Re: Efficient Editing With vim
#100No more feeling around folder structures with ':e'!