#Installation
Just add the code snippet of add_to_bash_profile
to ~/.bash_profile or ~/.bashrc depending on your OS.
##Command Line Usage
rclip "Some String to be copied to your local Clipboard"
Input secret:
Press Cmd+V (copy) or Ctrl+V and press enter.
##Vim Usage Whatever you can pipe to an external command can be copied over to your local clipboard. e.g.
:w !rclip
followed by Cmd+V will copy the whole file contents to your clipboard
:'<,'> !rclip
will copy selected portion (Visual mode) to your clipboard.
#Credits & Implementation details http://endot.org/2011/12/04/remotecopy-copy-from-remote-terminals-into-your-local-clipboard/