On 13/07/09 18:08, Ingo Karkat wrote:
>
> On 13-Jul-09 15:04, Roald wrote:
>> I'm using vim for about half a year now, so no expert yet. I like the
>> modal idea, and not needing to do control-anything all the time. But I
>> also think this could be taken further. For example: switching between
>> windows now requires C-w j etcetera - not so convenient, especially
>> not on my macbook keyboard. I would like to be able to add an extra
>> mode for browsing through files (switching windows, buffers and
>> scrolling). But modes seem to be hard-coded in vim.
>>
>> Questions: can I add modes? If not: is there a good reason for that?
>> If not: is there any chance of it being implemented?
>
> The default window navigation commands are a bit tedious, I mapped CTRL-JKHL
> to
> go to the window in that direction:
> nnoremap<C-j> <C-w>j
> etc.
The problem with that is that you're "masking" existing (and useful)
functions. For instance, I constantly use Ctrl-K as the digraph prefix
(the option to use X <BS> Y instead of <C-K> X Y is more trouble than it
is useful IMO); Ctrl-L is the "redraw" key, very useful when something
goes "half wrong", and so forth.
> If CTRL isn't placed convenient, you can also use ALT/META.
and Alt/Meta means "set the high bit" which means that it conflicts with
accented letters -- even in English (as spelled by the Oxford
Dictionary), words like risqué, résumé (as in "summary" or "curricumum
vitæ", not "continue after a halt"), garçon, señorita, and others, are
written with such accented letters -- yeah, I know they are "foreign
words" which haven't yet fully "made their way" into the language, but
if you map Alt-i to something you'll get a bad surprise if someday you
want to write the word risqué the way it ought to be written. To Vim,
é-acute and Alt-i are undistinguishable from each other.
>
> -- regards, ingo
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
72. Somebody at IRC just mentioned a way to obtain full motion video without
a PC using a wireless protocol called NTSC, you wonder how you never
heard about it
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---