Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Implement caret style cursors #1245

Closed
NNBnh opened this issue Dec 9, 2021 · 1 comment
Closed

Implement caret style cursors #1245

NNBnh opened this issue Dec 9, 2021 · 1 comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@NNBnh
Copy link
Contributor

NNBnh commented Dec 9, 2021

Split out of #1179 here is the summary:

I have always looking for a modal terminal editor that use caret style cursors,
Helix currently has implement Gap indexing #376 which mean the caret cursor dream is not far from becoming the reality.

...

I thinks the movement will stay pretty much the same except for moving to the end of an object:

Because the implement Gap indexing, moving to the end of an object (e.g: a word) will place the cursor to the right of the last character of the object.

Here are some more explanation from Pepper editor:

Caret style cursors (like most text editors, cursors can move past last line character and text is always inserted to its left)

...

Pepper is heavily inspired by Kakoune's selection based workflow and multiple cursors.
However its cursors behave like caret ranges instead of block selections.
That is, the cursor is not a one-char selection but only a visual cue to indicate the caret location.

Please consider implementing this feature, this will definitely make the keyboard experience way smother.

@NNBnh NNBnh added the C-enhancement Category: Improvements label Dec 9, 2021
@NNBnh NNBnh mentioned this issue Dec 9, 2021
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Dec 9, 2021
@pickfire
Copy link
Contributor

I personally think it should be considered as opt-out via config, I tried vis which have this feature and I find it quite uncomformable.

@helix-editor helix-editor locked and limited conversation to collaborators Apr 25, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10598 Apr 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants