Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim mode #23819

Open
1 of 4 tasks
juliekoubova opened this issue May 28, 2024 · 1 comment
Open
1 of 4 tasks

Vim mode #23819

juliekoubova opened this issue May 28, 2024 · 1 comment

Comments

@juliekoubova
Copy link

Feature Request Type

  • Core functionality
  • Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

Hello, I've written a little Vim feature. It supports Vim commands and movements that can be implemented using standard Windows and Apple shortcuts (e.g. dw (delete word) sends Ctrl+Shift+Left, Ctrl+X on Windows, v0 sends Shift+Home, and so on).

It introduces a new keycode (QK_VIM), which can be tapped to enter the command mode, where you can use regular Vim commands like a or i to return to regular insert mode, or you can tap the QK_VIM again to return. It can also be held down and used as a modifier; in that case, the keyboard returns to regular insert mode after releasing the QK_VIM key.

It is currently in my userspace. There's also a keymap. I've been using it for over a year on my 60% keyboard. I was wondering if there would be any interest in including it in QMK itself. If yes, I can write some docs and maybe tests, move it into the main directory and send a PR :)

@juliekoubova
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant