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

Use shift to select text in Vi mode #49

Closed
volt4ire opened this issue Jul 24, 2017 · 3 comments
Closed

Use shift to select text in Vi mode #49

volt4ire opened this issue Jul 24, 2017 · 3 comments

Comments

@volt4ire
Copy link

Is there a way to have the Vi mode complex modifiers be used to select text while shift is held down? For example, I would love to be able to press ⌃+⇧+h to select the character to the left, like pressing shift and the left arrow key does. Being able to hold ⇧+⌥+h to select all the preceding characters in the current word and ⇧+fn+h to select the preceding characters in the paragraph like ⇧+⌥+← and ⇧+fn+← do respectively would make this even better. Thanks!

@apm1467
Copy link
Collaborator

apm1467 commented Jul 24, 2017

That's an interesting idea. I've done it by simulating the visual mode in vim. You can check the new version of Vi Mode now.

@volt4ire
Copy link
Author

Thanks for the quick update! I can't seem to get the Vi Mode rev 4.1 to select text, however. When I press the trigger key (⌃) +⇧+h/j/k/l to select text, nothing happens. Am I invoking the trigger incorrectly?

@apm1467
Copy link
Collaborator

apm1467 commented Jul 25, 2017

The trigger key is either S or D depending on the rule you choose. There's no control or shift involved.

Just press S + V + H or D + V + H to see the result.

@apm1467 apm1467 closed this as completed Aug 1, 2017
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