Open alex-courtis opened 5 days ago
This feature would be incredible!
I've found myself naturally doing the same: <s-v> j j d
That somewhat maps to marks m j m j m bd
<s-v> j j y p
to clipboard c j c j c p
A repcipe to do this sort of mapping would be a bit clunky and failure prone, and will interfere with existing functionality.
A first class solution is desirable. We cannot use marks as they have use cases other than file manipulation. We can use the clipboard. As a start: perhaps:
x
: marks the visual selection as cut (regular x
), clearing other cut and copiedy
or c
: marks as copied, clearingd
: deletesAs usual, pull requests are most gratefully appreciated, see CONTRIBUTING.md
Discussed in https://github.com/nvim-tree/nvim-tree.lua/discussions/2993