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

ESC mapping alternative #19

Open
fritz-c opened this issue Jun 1, 2016 · 1 comment
Open

ESC mapping alternative #19

fritz-c opened this issue Jun 1, 2016 · 1 comment

Comments

@fritz-c
Copy link

fritz-c commented Jun 1, 2016

You wrote that you mapped an extra ESC keypress to the button pressing action, but if you entered insert mode through something like ciw, and then wanted to escape, a press-and-release of your pedal would send the keys ESC, i, ESC, which would as a side effect move the cursor back one extra character than if you had just pressed ESC.

To avoid unnecessary movement like this, you could use an alternate key to get back to normal mode. The one I know of is ALT+L. So a mapping of ALT+L, i to the press-down action might work best for consistent mode-changing.

@panamantis
Copy link

Auto-hotkey mapping alternative suggestions?

I've got my CapsLock as Ctrl (which saves my emacs pinky). Alt-*something sounds like a good idea...hmmm.

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

No branches or pull requests

2 participants