Use v for zooming because C-Z interefered with backgrounds
This commit is contained in:
parent
4d2c03721b
commit
8c5de9fd00
2 changed files with 3 additions and 2 deletions
|
@ -241,7 +241,7 @@ function! ZoomOrUnzoom()
|
|||
endfunc
|
||||
|
||||
" Map it to <space>z
|
||||
nnoremap <leader>z :call ZoomOrUnzoom()<cr>
|
||||
nnoremap <leader>v :call ZoomOrUnzoom()<cr>
|
||||
|
||||
" I had this running as an autocommand on resizes, but it was buggy so it's
|
||||
" disabled at the moment.
|
||||
|
|
|
@ -47,7 +47,8 @@ bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
|||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
|
||||
# When zooming a pane in a window, also zoom the vim split
|
||||
bind-key z if-shell "$is_vim" "resize-pane -Z \; send-keys C-z" "resize-pane -Z"
|
||||
# Used to be z, but it interefered with backgrounding processes
|
||||
bind-key v if-shell "$is_vim" "resize-pane -Z \; send-keys ' v' " "resize-pane -Z"
|
||||
|
||||
# All pane and window creations use the same path as the current process,
|
||||
# which I have found to be a good default.
|
||||
|
|
Loading…
Add table
Reference in a new issue