Wednesday, September 8, 2010

Re: How can map , . -> map leader

* 777 <vimtexhappy@gmail.com> [2010-09-08 12:00]:
> My Vim 7.3 Can't work && <c-v> no output.

in insert mode, type CTRL-V *and* a key after that. see?
for more info on this please read ":help i_CTR-V".

besides, not all combinations with CTRL and
other keys really yield new combinations.

but you can map characters *sequences*.
that's why i use the comma as a map leader, eg:

" some more toggles:
map ,h :set hls!<cr>
map ,n :set nu!<cr>
map ,w :set wrap!<cr>

ses also:
:help mapleader
:help maplocalleader

Sven

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

Post a Comment