Skip to content

Commit

Permalink
do not autoresize terminal windows
Browse files Browse the repository at this point in the history
  • Loading branch information
randName committed Apr 3, 2020
1 parent d61e62e commit 3049998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vim/plugin/tmux-navigator.vim
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ function! s:TmuxSwitch(direction)
elseif g:tmux_navigator_auto_resize
if &filetype == 'netrw' || l:ori_ft == 'netrw'
return
elseif &buftype == 'terminal'
return
endif
if a:direction =~ '[hl]'
execute 'vertical resize ' . min([max([float2nr(&columns * 0.6), 80]), 140])
Expand Down

0 comments on commit 3049998

Please sign in to comment.