Tiny Core Extensions > TCE Q&A Forum
vim keybindings
althalus:
So it seems that ctrl+ left,right,up, down don't map properly in tinycore.
I would very much like to be able to map these keys in vim.
Instead, pressing those keys inserts the letters a through d above the current line.
Anyone know a solution to this?
curaga:
Is this is a tty or in X? Do you have a non-US keyboard?
althalus:
In X, using US layout. It works fine in Linux Mint (which uses xterm) but not in TC (Which appears to se rxvt). I can see via google that rxvt seems to handle ctrl+arrows slightly different to xterm, but nothing that seems to be a solution for vim.
jpeters:
Arrows work without <ctrl>. 'w' and 'b' will move forward, back by word instead of space. Puppy uses rxvt, and the ctrl + <--> act like b/w . ... probably can be set in .vimrc
edit: <shift> + <--> moves like b/w
althalus:
Jumping back and forward by word isn't what I want them for. Hm, but puppy has it working? Thanks, I'll see if I can work out how they do it.
Navigation
[0] Message Index
[#] Next page
Go to full version