On 09/07/10 06:22, Gary Johnson wrote:
[...]
Instead of Ctrl-F, I use<Esc>, which I find myself hitting
automatically when I want to edit the command line anyway.  You can
enable the use of<Esc>  by putting this line in your _vimrc:

Hm., I find myself automatically hitting <Esc> when I want to abort what I was doing on the command-line and go back to Normal mode.


     set cedit=<Esc>

You might also be interested in

     :help emacs-keys

While the emacs key bindings aren't as immediately natural as vi key
bindings, they are easier to use and offer more functions than the
arrow keys.

After looking at that help paragraph, I find that IMHO the {rhs} keys (mostly the arrow keys) are both easier and more natural to use. In most cases they require only one key (or, in two cases, Shift + one key) rather than the complex and hard to remember Emacs Ctrl+letter -- which, in addition, hide _other_ useful Vim commands:
        Key     Emacs ({rhs})   Vim
        Ctrl-A  <Home>            insert all names matching pattern
        Ctrl-B  <Left>            <Home>
        Ctrl-D  <Del>             list all names matching pattern
        Ctrl-E  <End>             <End>
        Ctrl-F  <Right>           open cmdline window
        Ctrl-N  <Down>            next (wildchar match or in history)
        Ctrl-P  <Up>              previous (ditto)
At least four of these are keystrokes I use fairly often on the command line, and a fifth one is unneeded (already standard).

Well, other people other mores I suppose; but trying to make Vim behave like Emacs... 'nuff said.


Regards,
Gary


Best regards,
Tony.
--
ARTHUR: Go on, Bors, chop its head off.
BORS:   Right.  Silly little bleeder.  One rabbit stew coming up.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to