vim terminal mode adjustment

This commit is contained in:
Noah Masur 2021-05-02 18:33:02 -04:00
parent 71cbdae52f
commit f44cf8284d
2 changed files with 5 additions and 3 deletions

View File

@ -595,7 +595,9 @@ key_bindings:
- { key: O, mods: Super, chars: "edit\x0D" } # CMD-O opens file in vim - { key: O, mods: Super, chars: "edit\x0D" } # CMD-O opens file in vim
- { key: R, mods: Super, chars: "recent\x0D" } # CMD-R opens file in vim - { key: R, mods: Super, chars: "recent\x0D" } # CMD-R opens file in vim
- { key: Return, mods: Shift, chars: "\x1b[13;2u" } - { key: Return, mods: Shift, chars: "\x1b[13;2u" }
- { key: Return, mods: Control, chars: "\x1b[13;5u" }
- { key: Return, mods: Control|Shift, chars: "\x1b[13;6u" }
- { key: N, mods: Command, action: SpawnNewInstance } - { key: N, mods: Command, action: SpawnNewInstance }
- { key: PageUp, action: ScrollPageUp } - { key: PageUp, action: ScrollPageUp }
- { key: PageUp, mode: Alt, chars: "\x1B[5~" } - { key: PageUp, mode: Alt, chars: "\x1B[5~" }

View File

@ -98,8 +98,8 @@ endfunction
command! ZoomToggle call s:ZoomToggle() command! ZoomToggle call s:ZoomToggle()
nnoremap <silent> <leader>z :ZoomToggle<CR> nnoremap <silent> <leader>z :ZoomToggle<CR>
" Exit terminal mode (requires Alacritty escape) " Exit terminal mode
tnoremap <S-CR> <C-\><C-n> tnoremap <A-CR> <C-\><C-n>
" Reload Vimrc settings " Reload Vimrc settings
nnoremap <Leader>rr :Refresh<cr> nnoremap <Leader>rr :Refresh<cr>