diff --git a/nvim/nvim.symlink/init.vim b/nvim/nvim.symlink/init.vim index d82dd33..01e6aa4 100644 --- a/nvim/nvim.symlink/init.vim +++ b/nvim/nvim.symlink/init.vim @@ -241,7 +241,7 @@ function! ZoomOrUnzoom() endfunc " Map it to z -nnoremap z :call ZoomOrUnzoom() +nnoremap v :call ZoomOrUnzoom() " I had this running as an autocommand on resizes, but it was buggy so it's " disabled at the moment. diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index 7f51a90..46445c7 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -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.