Aaron Feng on 23 Oct 2008 18:17:25 -0700 |
Yeah set -o vi is great. It actually uses gnu readline behind the scene, not vi. Search "VI Mode bindings" in the man page of readline for a full listing of commands. Aaron On Thu, Oct 23, 2008 at 4:58 PM, Matt Hughes <hughes.matt@gmail.com> wrote: > > I've gotten better since I learned how to switch my command line key-bindings to use vi-mode: > set -o vi > > On Thu, Oct 23, 2008 at 4:36 PM, Aaron Feng <aaron.feng@gmail.com> wrote: >> >> I use vim on a regular basis to edit a single file, but not for coding (I can't get use to splitting windows). I often use vim to create throw away scripts. For example, if I need to delete selected files I use the find shell command and redirect to a file, so I can see exactly what I'm deleting before running it. I use vim to prepend rm in front of every line then run the file as a shell script. >> >> I found learning the vi and vim editors book helpful, but vi has been around so long there are a lot of good stuff on the net. I wouldn't buy the pocket vi book. >> >> Aaron >> >> On Thu, Oct 23, 2008 at 3:24 PM, Steve Eichert <steve.eichert@gmail.com> wrote: >>> >>> Hey All, >>> Are there any VIM users on this list? I've recently decided to try out VIM and I'm looking for advice for becoming a VIM "master". >>> Thus far I've been pretty focused on the basics (navigation as well as insertion and deletion commands). I'm finding my way around reasonable well and I'd like to take my use to the next level. Does anyone have any small useful tricks they often use in VIM? What features make you use VIM instead of some other text editor? Or if you're using some other editor what makes you use it instead of VIM? Do you have any vim plugins that you can't live without? >>> Plugins I'm using: >>> http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim >>> http://www.vim.org/scripts/script.php?script_id=1567 >>> http://www.vim.org/scripts/script.php?script_id=1658 >>> >>> Cheers, >>> Steve >
|
|