Monday, October 31, 2011

Re: Mapping shortcuts

On Mon, Oct 31, 2011 at 01:06:45PM EDT, George Papanikolaou wrote:
> I know this is simple. but I can't figure it out by Googling... so.

Nothing wrong with googling, but there's no guarantee whoever posted his
favorite trick fully understands the problem and that whatever worked in
his case will not have side-effects that may be quite unsuitable in your
case.

Maybe now's the time for you to start working with the complete (and
100% accurate) vim help and lose the Google-search habit...?

Rather than start with the Vim reference manual, where non-specialists
often find themselves overwhelmed by the sheer quantity of information
and give up, it's probably more effective to study the Vim user manual
one chapter at a time until you have a fair idea of vim's capabilities
and how to put them to good use.

You can access the user manual via:

:help user-manual

This gives you access to the user manual's table of contents.

In this particular case, you will not find a 'mappings' section (this is
why you often need to have at least skimmed through the entire manual
beforehand to find what you are looking for), but there is a very clear
(and authoritative) howto-style discussion of them under:

|usr_40.txt| Make new commands

Note that there is a very useful introduction to the way the Vim
documentation is organized in:

|usr_01.txt| About the manuals

You may want to read it even before you read the introduction to
mappings mentioned above.

[...]

CJ

--
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

No comments: