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