I'm trying to add some readline keybindings into insert mode, like below,
inoremap <C-B> <Left> inoremap <C-F> <Right> inoremap <A-B> <C-Left> inoremap <A-F> <C-Right>
The fist two work fine. However, when I try
A-B, it goes back one word but changes the mode
to normal mode. Also,
A-f only acts as
Esc key, changes the mode to normal mode.
I have other
Alt keybindings but they work fine. not sure what is special about these two.
Edit: some more info
- terminal emulator:
- I don't use tmux and the like,
- in terminal
- in neovim