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

Consider adding movement to normal mode #8

Open
jokajak opened this issue Aug 9, 2019 · 2 comments
Open

Consider adding movement to normal mode #8

jokajak opened this issue Aug 9, 2019 · 2 comments

Comments

@jokajak
Copy link
Contributor

jokajak commented Aug 9, 2019

I came across an example of having movement keys mapped in a normal mode equivalent at https://github.com/dbmrq/dotfiles/blob/master/home/.hammerspoon/vim.lua

Perhaps this can be leveraged/referenced to support similar functionality in ki.

@andweeb
Copy link
Owner

andweeb commented Aug 20, 2019

Oh interesting! This looks pretty cool so I just tried incorporating it into my own ki config, but it might not actually be possible at the moment since those movement function trigger keystrokes, which would conflict with ki's keystroke handler.

Hmm it looks like there would need to be a way to have the handler ignore keystrokes when in particular modes.

@jokajak
Copy link
Contributor Author

jokajak commented Aug 20, 2019

Would a refactor to modals (https://www.hammerspoon.org/docs/hs.hotkey.modal.html) allow you to support this?

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