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.

> 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.

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.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

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

Raspunde prin e-mail lui