On 12/02/09 13:27, Albie Janse van Rensburg wrote:
> soundphed wrote:
>> thank you for your answer, that was _exactly_ what i was looking
>> for. :)
>
> Just be aware that those mappings will override the default
> functionality for those ctrl-<letter> keys. In insert mode, ctrl-p does
> word completion, for instance. And as Tony Mechelynck mentioned, ctrl-k
> starts digraph entry, which is very useful for typing in a non-English
> language.
>
> I have actually now restricted my mappings to only the command-line mode
> (cnoremap), it generally being the most limited mode in Vim, IMO.
>
> Regards
>
I haven't; but I use only Fnn keys (or shift-Fnn keys), and, in Normal
mode only, non-ASCII keys (my Belgian keyboard has a number of these: ²
³ é § è ç à ° µ £ ù -- not counting the characters obtained with AltGr
or with dead-circumflex and dead-diaeresis) as the {lhs} of my mappings,
unless I explicitly want to override a preexisting key binding. Also, my
mapping for <F1> intentionally overrides the default functionality
(which is "help" as in many programs), as I have: ":map <F1> :bot
help<CR>" to have it open the help window (if not already open) at the
very bottom rather than next to the current window.
Best regards,
Tony.
--
I can read your mind, and you should be ashamed of yourself.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---