On 09/04/09 08:21, netimen wrote:
>
> Thanks, very interesting. But how can I map the numpad keys in the
> keymap file?
Try using <k0> to <k9> as the {lhs}. Or else, use a different
combination altogether, something that you won't be likely to encounter
in Insert mode. Maybe [] preceded by whatever you map to the hard sign
(tvyordyy znak) character, if you've got that key on your keyboard.
The following can be useful too, especially if (like me) you don't know
if or where the Ctrl-^ key is on your keyboard:
:map <F8> :let &imi = !&imi<CR>
:noremap! <F8> <C-^>
Of course, this should _not_ be part of your keymap (or else it should
come before the ":loadkeymap" line) since the purpose of these commands
is to toggle the keymap on and off.
Всего хорошего,
Тоня.
--
An old Jewish man reads about Einstein's theory of relativity
in the newspaper and asks his scientist grandson to explain it to him.
"Well, zayda, it's sort of like this. Einstein says that if
you're having your teeth drilled without Novocain, a minute seems like
an hour. But if you're sitting with a beautiful woman on your lap, an
hour seems like a minute."
The old man considers this profound bit of thinking for a
moment and says, "And from this he makes a living?"
-- Arthur Naiman, "Every Goy's Guide to Yiddish"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---