unify command-mode keybinds, add terminal keybinds

This commit is contained in:
2025-06-13 00:02:48 +00:00
parent 6811313bf1
commit 2eea5707bd
4 changed files with 60 additions and 37 deletions

View File

@@ -117,6 +117,15 @@ noremap! <C-h> <C-o>
"#################################
"############### new keybinds ###############
cnoremap <C-a> <Home>
cnoremap <C-e> <End>
cnoremap <C-b> <Left>
cnoremap <C-f> <Right>
cnoremap <M-b> <S-Left>
cnoremap <M-f> <S-Right>
"############################################
"####### custom commands #########
" W - Save file as superuser
command! W execute 'w !sudo tee % > /dev/null' <bar> edit!