mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
vim terminal mode adjustment
This commit is contained in:
parent
71cbdae52f
commit
f44cf8284d
@ -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~" }
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user