I have a permanent register "T
and it's filled with something already. When I yank something else into it, it's appended to the register.
I'd like to clear out just that one register so I can yank something fresh to it without appending to it.
My command for yanking is "Ty
...
I've already tried several things in ex mode like:
:call setreg('T', [])
let @T=''
And it doesn't go away....
T
is the same as registert
, but lower case replaces, while upper case appends? You don't have to clear it, just use"ty
or did I misunderstand you?"Ty
it will persist between closings vim.