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

Enhancement: Smart home key #30

Open
ikrase opened this issue Sep 15, 2015 · 3 comments
Open

Enhancement: Smart home key #30

ikrase opened this issue Sep 15, 2015 · 3 comments

Comments

@ikrase
Copy link

ikrase commented Sep 15, 2015

A number of editors have the home key or BOL command move the cursor to the first non-whitespace character in a line if the cursor was anywhere other than that position, and to the actual beginning of the line if it was already at that position. As such one press will generally be at the beginning of text and two at the beginning of the line.

Is there a chance we could have this in Dex?

@pepa65
Copy link

pepa65 commented Nov 4, 2015

I've added bolf and eolf commands for smart-home and smart-end.
In order not to mess with existing commands (and bindings), I thought it least disruptive to add 2 new commands, that can be used if wanted.

@pepa65
Copy link

pepa65 commented Jul 22, 2017

To pick up the thread from the last comment, I added smarthome and smartend which don't do what this issue was originally about... (They go to the beginning/end of the line/screen/file. It is possible to also integrate the originally requested feature, but that hasn't happened yet.)

@craigbarnes
Copy link
Contributor

craigbarnes commented Mar 23, 2019

This has been implemented in the dte fork as bol -s, in commit 92084b00.

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

3 participants