Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

[Question] How can I use Windows built-in shortcuts #123

@happyTonakai

Description

@happyTonakai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedRequirement understood and waiting implementation.enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions