win-vind
win-vind copied to clipboard
[Question] How can I use Windows built-in shortcuts
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.
Can I achieve this goal? Thank you.