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

Mapping something that yanks in visual mode doesn't update the "view" #798

Open
SeerLite opened this issue Apr 3, 2023 · 0 comments
Open

Comments

@SeerLite
Copy link

SeerLite commented Apr 3, 2023

Hi!

The following mapping, to mark the selected range as p before yanking:

vnoremap "b" "mpy"

Causes sc-im to succesfully mark, yank and exit visual mode. However, the range still shows as "selected" as if being in visual mode until another cell is selected (by moving in normal mode).

Edit:
Currently using this workaround:

vnoremap "b" "mpyglgl"
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

1 participant