Re: Describe-key ?

2007-04-16 Thread Yakov Lerner

On 4/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

 is there anything like describe-key (EMacs)in vim ?

 In EMacs vou can submit this command, press a combination
 of keys and EMacs will tel you the naming convention
 of this key (for example Meta-p) and its current
 bindings of that combination of keys.

 Anything like that in vim ?


For builtin commands, :help Keys
For user-remapped keys, :map Keys

Vim is multimode, so you have several meanings for each control-key.
(normal mode, insert, mode, commandline mode, etc).

Every mode for every command is documented in the help.

You need to learn the help navigation by tags and completion.
If you have these settings 'set wildmode=list:longest  wildmenu',
and you type :help ^Xtab (that's ':','h',space,'^','X,Tab)
you'll commands involving Ctrl-X in all modes.

You need to know how to find meaning for keys X for every mode in the help.
Help uses uniform prefixes for that.

Yakov


Describe-key ?

2007-04-15 Thread meino . cramer
Hi,
 
 is there anything like describe-key (EMacs)in vim ?

 In EMacs vou can submit this command, press a combination
 of keys and EMacs will tel you the naming convention
 of this key (for example Meta-p) and its current
 bindings of that combination of keys.

 Anything like that in vim ?

 Would help a lot :)

 Keep editing!
 mcc


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.