You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
How can I use keyboard shortcuts in Windows in GUI normal mode?
Such as ctrl-w to close active window, alt-d to select the directory bar, and other default hotkeys in some softwares such as ctrl+t to open a new tab in Chrome/Edge.
What I need is to keep some commands' orignal functionality. What I tried is to use gnunmap to remove the mapping and map these hotkeys to themselves, like
gnunmap <ctrl-w>
gnnoremap <ctrl-w> <ctrl-w>
But that doesn't work. To make sure this is not related to the window binding of <C-w>, I also tried ctrl-t which also fails.
How can I use keyboard shortcuts in Windows in GUI normal mode?
Such as
ctrl-wto close active window,alt-dto select the directory bar, and other default hotkeys in some softwares such asctrl+tto open a new tab in Chrome/Edge.What I need is to keep some commands' orignal functionality. What I tried is to use
gnunmapto remove the mapping and map these hotkeys to themselves, likeBut that doesn't work. To make sure this is not related to the window binding of
<C-w>, I also triedctrl-twhich also fails.Can I achieve this goal? Thank you.