screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vim keybindings not working in screen


From: Johan Svedberg
Subject: Re: Vim keybindings not working in screen
Date: Mon, 28 Jan 2008 15:44:15 +0100

On Jan 26, 2008 3:31 PM, Johan Svedberg <address@hidden> wrote:
> Hi
>
> I have a couple of keybindings in vim using Ctrl and Meta with the
> Left and Right arrow keys:
>
> noremap <C-Left>    :tabn<CR>
> noremap <C-Right>  :tabp<CR>
> noremap <M-Left>    :tabp<CR>
> noremap <M-Right> :tabn<CR>
>
> This works fine outside of screen but not from within. So I was
> wondering if anyone had any idea if it's possible to make it work in
> screen aswell?

Just for the record, I tried adding

bindkey "^[[1;5C" next
bindkey "^[[1;5D" prev

to my .screenrc and this works fine. So I guess its a matter of
getting screen to pass the right sequence along to the terminal. Could
it have something todo with application mode for cursor keys mentioned
in the manual?

Regards,

-- 
Johan Svedberg, address@hidden, http://johan.svedberg.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]