Closed andreiamatuni closed 8 years ago
Yes, first remove ⌘W from the menu item:
:call MacMenu("Window.Close Tab", "")
Then you can map <D-w>
to whatever you like.
(If you haven't updated Neovim.app in a while it'll be <T-w>
instead.)
cool, thanks
@andreiamatuni were you able to persist this somehow? What did you end up doing?
@JackCA ended up just sticking to macvim for the time being. Waiting for nvim to get more stable and have more reasons to use over regular vim.
@andreiamatuni ah, okay. Thanks for the quick followup. I avtually just got this working by putting the following in my nvim/init.vim (in case anyone else is also interested since this is the default macvim behavior):
if exists("neovim_dot_app")
call MacMenu("Window.Close Tab", "")
map <D-w> :q <cr>
endif
Is it possible to make command-W close the current pane rather than the whole neovim app? This would be really helpful when working with lots of tabs and split panes