I am trying to copy the selected text from vim into system clipboard.
In visual mode, i pressed :
, and the command prompt string changed as, :'<,'> Running
:'<,'> !tee >(xsel -b)
added :'<,'>
into the current buffer which is not the desired result.
Then i edited the command prompt string and ran it as,
:'>,'> !tee >(xsel -b)
Selection area got copied into clipboard.
How is :'>,'>
different from :'<,'>
?
Original question