Mercurial > addons > vim-scripts > vim-xsel-script
diff doc/xsel.txt @ 0:c293edf9fbac default tip
Initial revision
author | Guido Berhoerster <guido+vim@berhoerster.name> |
---|---|
date | Sat, 14 Mar 2015 10:57:21 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/xsel.txt Sat Mar 14 10:57:21 2015 +0100 @@ -0,0 +1,39 @@ +*xsel.txt* xsel script Last change: 2009-02-19 + +xsel integration for Vim *xsel* + +1. Mappings |xsel-mappings| +2. Commands |xsel-commands| + +The xsel script for Vim integrates vim with the xsel utility in order to copy +text from and to X CLIPBOARD selection. It requires xsel to be installed (see +http://www.vergenet.net/~conrad/software/xsel/). + +============================================================================== +1. Mappings *xsel-mappings* + + *<Leader>sc* *<Plug>XselSetClipboard* +<Leader>sc +<Plug>XselSetClipboard + Set the X CLIPBOARD to the content of the + unnamed register. + + *<Leader>gc* *<Plug>XselGetClipboard* +<Leader>gc +<Plug>XselGetClipboard + Get the content of the X CLIPBOARD selection + and store it in the unnamed register. + +============================================================================== +2. Commands *xsel-commands* + + *:SetClipboard* +:SetClipboard {reg} Set the X CLIPBOARD to the content of the + register {reg}. + + *:GetClipboard* +:GetClipboard {reg} Get the content of the X CLIPBOARD and store + it in the register {reg}. + +============================================================================== + vim:tw=78:ts=8:ft=help:norl: