on linux mint xfce for whatever reason its just not easy to ctrl c ctrl v in the term
I end up reaching for the mouse and i hate it.
although ive got set -o vi in my .bashrc for vim motions, the y only copies internally.
ctrl shift a selects the whole terminal which isnt what I want.
visual mode isnt working anyway.
My solution:
piping my commands into xclip.
making a bash alias for xclip so i dont need to type xclip=selection clipboard.
add this to your .bashrc:
# Alias to copy text to clipboard using xclip
alias c='xclip -selection clipboard'
after that you can echo it into a thing and pipe it to c which is your alias
No comments:
Post a Comment