I am trying to view many files in a loop. I need a keybinding to close Gvim window. Possible choices in apt-get of Ubuntu 16.04 Command 'gvim' from package 'vim' (main) Command 'gvim' from package 'vim-gtk3' (universe) Command 'gvim' from package 'vim-gnome' (main) Command 'gvim' from package 'vim-athena' (universe) Command 'gvim' from package 'vim-nox-py2' (universe) Command 'gvim' from package 'vim-gtk-py2' (universe) Command 'gvim' from package 'vim-nox' (universe) Command 'gvim' from package 'vim-gtk3-py2' (universe) Command 'gvim' from package 'vim-gnome-py2' (universe) Command 'gvim' from package 'vim-tiny' (main) Command 'gvim' from package 'vim-gtk' (universe) Command 'gvim' from package 'vim-athena-py2' (universe)I have triedvim-gtk3, no CTRL-W to close the windowI would like to get Neovim with such a feature. Is there any GVim with window-closure by CTRL-W?
How to Get GVim which can be Killed by CTRL-W?
gvim;neovim
You can create a map in your vimrc to give CTRL+W the action you are looking for.:nnoreamp <C-W> :q<cr>If you want it to force quit then:nnoremap <C-W> :q!<cr>