Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vim key binding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
readme.txt
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 147

PostPosted: Tue May 30, 2006 9:23 pm    Post subject: vim key binding Reply with quote

I am trying to make a key binding for tabs in vim and for some reason these comands work in xterm but does not work in aterm. Any ideas why?

here is the command
Code:
nnoremap <C-RIGHT> :tabn<CR>
nnoremap <C-LEFT> :tabp<CR>
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Wed May 31, 2006 10:23 am    Post subject: Reply with quote

ctrl+arrow is one of the iffy terminal keys that collides with other sequences. You can't map arbitrary modifiers + special keys in a terminal and expect them all to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum