Add some readline jazz to nvim.

This commit is contained in:
Shawn Anderson 2020-12-23 01:29:04 -08:00
parent 08916adecc
commit afa3ad1892
1 changed files with 12 additions and 0 deletions

View File

@ -31,3 +31,15 @@ autocmd BufEnter * lcd %:p:h
" Spookie bug. I think I was hacked and that someone i fucking with me.
" Whenever I would pres shift K it would open a new tab in nvim.
inoremap <S-k> <S-k>
" Here, I borrow some mappings from readline! These are great, google
" `readline cheatsheet` I map alt-a to home because I use ctr-a for tmux
" leader.
inoremap <C-b> <left>
inoremap <C-f> <right>
inoremap <C-e> <end>
inoremap <M-a> <home>
nnoremap <C-e> <end>
nnoremap <M-a> <home>