Mercurial > addons > vim-scripts > vim-xsel-script
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c293edf9fbac |
---|---|
1 *xsel.txt* xsel script Last change: 2009-02-19 | |
2 | |
3 xsel integration for Vim *xsel* | |
4 | |
5 1. Mappings |xsel-mappings| | |
6 2. Commands |xsel-commands| | |
7 | |
8 The xsel script for Vim integrates vim with the xsel utility in order to copy | |
9 text from and to X CLIPBOARD selection. It requires xsel to be installed (see | |
10 http://www.vergenet.net/~conrad/software/xsel/). | |
11 | |
12 ============================================================================== | |
13 1. Mappings *xsel-mappings* | |
14 | |
15 *<Leader>sc* *<Plug>XselSetClipboard* | |
16 <Leader>sc | |
17 <Plug>XselSetClipboard | |
18 Set the X CLIPBOARD to the content of the | |
19 unnamed register. | |
20 | |
21 *<Leader>gc* *<Plug>XselGetClipboard* | |
22 <Leader>gc | |
23 <Plug>XselGetClipboard | |
24 Get the content of the X CLIPBOARD selection | |
25 and store it in the unnamed register. | |
26 | |
27 ============================================================================== | |
28 2. Commands *xsel-commands* | |
29 | |
30 *:SetClipboard* | |
31 :SetClipboard {reg} Set the X CLIPBOARD to the content of the | |
32 register {reg}. | |
33 | |
34 *:GetClipboard* | |
35 :GetClipboard {reg} Get the content of the X CLIPBOARD and store | |
36 it in the register {reg}. | |
37 | |
38 ============================================================================== | |
39 vim:tw=78:ts=8:ft=help:norl: |