Reputation: 9104
I'd like to copy something that I selected with VISUAL mode to X clipboard using xclip. How can I create a mapping in my vimrc that uses the selected text?
The command that I'd like to execute is the following:
xclip -selection c {selected text}
Upvotes: 1
Views: 375