dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Visual select pasted content

Open bew opened this issue 5 years ago • 1 comments

Need a keybind to select some text I just pasted.

Might need a function to handle the different cases where the pasted text was character/line/block-wise.

gv is to reselect last visual selection

Maybe I can try to find something similar? (note: gV gp gP are already taken)

gy is available, but is incorrect: y is for copy not paste..

bew avatar Feb 02 '20 15:02 bew

'[ & '] are actually the last insertion (pasting is an insertion)

From justinmk's config, there is nnoremap gV `[v`] which I think is reasonable to use (and I can always switch to visual line selection afterward).

bew avatar Feb 17 '20 14:02 bew

From justinmk's config, there is nnoremap gV `[v`] which I think is reasonable to use (and I can always switch to visual line selection afterward).

This is what I've been using for a while, let's close 👍

bew avatar Sep 27 '24 21:09 bew