With unnamed clipboard option included, single letter deletes spam my clipboard manager Is it possible to fix this so that single letter deletes (with x) are not yanked to clipboard.
Prevent single letter deletes to spam clipboard manager
80 views Asked by majkinetor At
1
You can redefine the
xcommand, either to delete to the default register:or to the black-hole:
With
:help map-expr, you could extend this to redirect the register only if no[count]is given (by evaluatingv:count), or if no custom register is specified (v:register).