Skip to content

copymode: Place cursor at end of buffer content#97

Open
Capt0rr wants to merge 2 commits into
martanne:masterfrom
Capt0rr:fix/copy-mode-cursor-pos
Open

copymode: Place cursor at end of buffer content#97
Capt0rr wants to merge 2 commits into
martanne:masterfrom
Capt0rr:fix/copy-mode-cursor-pos

Conversation

@Capt0rr

@Capt0rr Capt0rr commented Oct 8, 2019

Copy link
Copy Markdown
Contributor

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).
@Capt0rr

Capt0rr commented Oct 20, 2019

Copy link
Copy Markdown
Contributor Author

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