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

copymode: Place cursor at end of buffer content #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sh4r1k7
Copy link
Contributor

@sh4r1k7 sh4r1k7 commented Oct 8, 2019

More convenient as that's where the most recent command and output is.
Additionally the original code placed the cursor one line off (base 0,
but vis expects base 1).

More convenient as that's where the most recent command and output is.
Additionally the original code placed the cursor one line off (base 0,
but vis expects base 1).
@sh4r1k7
Copy link
Contributor Author

sh4r1k7 commented Oct 20, 2019

Additionally the original code placed the cursor one line off (base 0,
but vis expects base 1).

The original behavior turns out to be a nice feature, placing the cursor at the last line of the last command's output - instead of on the same line as the current prompt, which is hardly ever where you want to start copying from.

Hence the small update.

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

Successfully merging this pull request may close these issues.

1 participant