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

Alt + z and 'u' does not honor selection orientation #2807

Open
alexherbo2 opened this issue Mar 24, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@alexherbo2
Copy link
Contributor

commented Mar 24, 2019

Example – With selections in backward direction.

Text

foo [bar] baz

Command

execute-keys 'Zb<a-z>u'

I’m experimenting this issue at implementing the word extending commands for word-movement.kak.

To implement the extend commands, I do something like:

execute-keys -save-regs '' 'Z'
word-movement {command}
execute-keys '<a-z>u'

Which doesn’t work for extending to the previous words because the selection orientation is not restored (always forward).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.