Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hopefully, this is a step towards solving issue #15.
I have created a plugin called Natural Selection. It tries to make the command line behave more like a text editor. Selection is the main focus because the native input functions don't behave as expected.
At this stage, it will require a little bit of work adding new shortcuts to your terminal. From memory, I had to add some extra escape sequences so I could target them with the new selection commands. Your mileage may vary. I would love some feedback how you found this process since I added extra key bindings in iTerm years ago, and I can no longer remember 😅
To get it working with pisces, you will need this fork and Natural Selection installed. Finally, modify the example key bindings by removing
$pairs
from$characters
and removing the$backspace
binding. This way it is handled by pisces.I was going to create all of this for myself regardless if you wish to accept this integration or not, so don't feel like my efforts here is wasted if you decline. Anyway, take your time and I hope you enjoy it.