andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.8k stars 203 forks source link

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

Open SeerLite opened 1 year ago

SeerLite commented 1 year ago

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"