I'd like to map C-n and C-p to S-Right and S-Left correspondingly. I tried to put
cmap <C-n> <S-Right>
cmap <C-p> <S-Left>
in ~/.pentadactylrc - but it doesn't work. How can I do it?
|
I'd like to map
in ~/.pentadactylrc - but it doesn't work. How can I do it?
| |||
|
feedback
|
|
There are different mapping commands for different modes. Most likely what you want to do is create a mapping for normal mode. When using these commands, the first argument is the map you're creating, and the second argument is what you're mapping it to.
Or better (because you could then remap
For further help for different mapping commands, type | |||
|
feedback
|
.pentadactylrcworks fine for me. What version are you using? (Mine is Pentadactyl 1.0b8pre-hg6437-default (created 2011/09/02 19:50:06) running on: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1) – frabjous Sep 3 '11 at 1:41cmap <C-n> <S-Right>- <S-Right> doesn't work this way (I press Esc several times - and then try <S-Right> - it doesn't switch to the next tab, contrast to <C-n>). – Adobe Sep 3 '11 at 13:15cmapis for command line mode, not normal mode, and you've got it backwards. I'll post as an answer, however. – frabjous Sep 3 '11 at 14:04