Skip to content

Override browser's Ctrl+W and Ctrl+Q shortcuts when in Vim mode #278

Open
@Andrew15-5

Description

@Andrew15-5

Description

Vim users use Ctrl+W a lot (also Ctrl+U, but it already works) for word deletion. For block selection, you can use either Ctrl+V or Ctrl+Q. I tend to use Ctrl+Q. Both of these shortcuts are very dangerous outside Vim/terminal. I assume a webpage can override/capture any shortcuts. If not, then at least a warning about closing the tab should be shown, same as other websites do this (at least for Ctrl+W):
image

Use Case

A better and fuller Vim mode experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request.vimHow do I get out of here?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions