Skip to content

Commit

Permalink
refactor: use wincmd instead of norm!
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Dec 26, 2023
1 parent d199230 commit 103004f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nerdtree/ui.vim
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ endfunction
function! s:UI.toggleZoom()
if exists('b:NERDTreeZoomed') && b:NERDTreeZoomed
setlocal nowinfixwidth
exe "norm! \<C-w>="
wincmd =
setlocal winfixwidth
call nerdtree#exec('silent vertical resize '. g:NERDTreeWinSize, 1)
let b:NERDTreeZoomed = 0
Expand Down

0 comments on commit 103004f

Please sign in to comment.