[Vimoutliner] Re: Laundry list
Ned Konz
ned at bike-nomad.com
Tue Oct 24 22:34:41 EDT 2006
Tim Roberts wrote:
> Matej Cepl wrote:
>
>> Concerning particular issue with different command prefixes, please,
>> read /usr/share/doc/vim-vimoutliner/README.Debian. I have IMHO explained
>> it there sufficiently. \ is a default command prefix for vim and
>> although many people on this list (Steve and Noel in the first place)
>> use ,, instead, I didn't feel like forcing vim-users extending their vim
>> with VO (which is the primary audience I am thinking about) to something
>> non-default.
>>
>>
>
> I don't have a Debian release, so I can't read the readme. However, in
> my many years of vim use, I have never encountered \ as a command
> prefix, and I am confused by the phrase "default command prefix". Can
> you elucidate?
>
The <Leader> character can be set by the user. So in a mapping you can
use <Leader> instead of a literal character.
The default <Leader> character (if mapleader is not set or empty) is the
backslash character.
:help leader
:help mapleader
The <LocalLeader> is like <Leader> but is for mappings that are local to
a buffer. If not set, it defaults to the same thing as <Leader>.
Vimoutliner should be using <LocalLeader> for its command mappings.
:help localleader
:help maplocalleader
--
Ned Konz
ned at bike-nomad.com
http://bike-nomad.com
More information about the VimOutliner
mailing list