You can reference it. If you have a keymap file named russian-jcukewin.vim, and you want to make an alias (e.g. named just 'russ') for it, create russ.vim (also residing in ~/.vim/keymap/ ) and put the following line of text in russ.vim
source <sfile>:p:h/russian-jcukewin.vim Then, from vim, you can invoke either :set keymap=russian-jcukewin or :set keymap=russ with identical results. *** To make a new keymap that is only a slight variation of another existing one, include the 'source' line, as shown above, to indicate the existing base keymap then add your changes and/or additions after the source statement. Note that in a keymap file, if you indicate a particular inputSequence outputSequence twice, the second will override the first. On Apr 10, 2:48 am, netimen <neti...@gmail.com> wrote: > I use russian-jcukewin keymap, but I'd like to add some extra mappings > to it. I'm going to write a new keymap file. Should I copy contents of > russian-jcukewin in my file or can I reference it somehow? --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---