On 14/07/09 01:08, James Vega wrote:
>
> On Tue, Jul 14, 2009 at 12:46:37AM +0200, Tony Mechelynck wrote:
>>
>> On 13/07/09 18:08, Ingo Karkat wrote:
>>> 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);
>
> That's in insert mode not normal mode.  Therefore, not a conflict.

Ah, yes. Sorry.

>
>> Ctrl-L is the "redraw" key, very useful when something goes "half
>> wrong", and so forth.
>
> I find that doing ":syn sync fromstart" is usually a better fix.<C-l>
> only fixes the issue sometimes and in the cases it doesn't, ":syn sync
> fromstart" would be necessary anyway.

I don't mean that. ":syn sync fromstart" is for times when redrawing 
wouldn't be useful but syntax highlighting has to be recomputed from 
higher than it was (much higther, sometimes). Ctrl-L is for when Vim 
forgot to redraw the screen and it isn't displaying what it thinks it is.

>
> The other two key combos being masked are<C-h>  and<C-j>  which don't
> override anything.  They're simply alternatives for other keys.
>

Best regards,
Tony.
-- 
Magnet, n.: Something acted upon by magnetism

Magnetism, n.: Something acting upon a magnet.

The two definition immediately foregoing are condensed from the works
of one thousand eminent scientists, who have illuminated the subject
with a great white light, to the inexpressible advancement of human
knowledge.
                -- Ambrose Bierce, "The Devil's Dictionary"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui