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

Command history doesn't place the cursor at the end of retrieved lines #76

Open
ssokolow opened this issue May 8, 2020 · 1 comment

Comments

@ssokolow
Copy link

ssokolow commented May 8, 2020

When I press Up in command mode in rx 0.4.0 to retrieve a previous command, the cursor remains in its original position at the beginning of the line.

Personally, I see this as the most useless place to put it in this situation but, more objectively, it's at odds with how readline (bash, Python's rlcompleter, etc.), ZLE (zsh), and the Javascript consoles in the Firefox and Chrome developer tools behave. (They put the cursor at the end of the retrieved line, as if you'd just typed it manually.)

@hendursaga
Copy link

It's still remains at the start of the line, but the end is but a End press away. If there was Vim-y (or even Emacs-y!) keybindings for manipulating the command, like $ or C-e, that would be cool.

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