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

@ -596,6 +596,8 @@ key_bindings:
- { key: R, mods: Super, chars: "recent\x0D" } # CMD-R opens file in vim
- { 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: PageUp, action: ScrollPageUp }
- { key: PageUp, mode: Alt, chars: "\x1B[5~" }

View File

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