> Can you guys tell me how you organize your key mappings? ..[.
Even if the plugins' mappings don't conflict, I dislike having pages
of mappings lying around; I sometimes use ad hoc mappings, and want to
type :map to see where I'm at. Plugins can be carefully set up to use
the autoload stuff, but the mappings are part of the interface so are
normally defined always.
So I've been driven to hacking the interface script of plugins, so
that there's one map or command that sets up its interface. F. ex.,
I'm a fan of Dr Chip's Align.vim, and he has factored the maps into
AlignMapsPlugin.vim, so I just move that out of the plugin directory
and have a couple of frequently used maps in my .vimrc, and one that
invokes AlignMapsPlugin.vim to get the whole deal.
Regards, John
--
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