annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
1 *xsel.txt* xsel script Last change: 2009-02-19
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
2
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
3 xsel integration for Vim *xsel*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
4
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
5 1. Mappings |xsel-mappings|
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
6 2. Commands |xsel-commands|
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
7
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
8 The xsel script for Vim integrates vim with the xsel utility in order to copy
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
9 text from and to X CLIPBOARD selection. It requires xsel to be installed (see
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
10 http://www.vergenet.net/~conrad/software/xsel/).
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
11
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
12 ==============================================================================
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
13 1. Mappings *xsel-mappings*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
14
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
15 *<Leader>sc* *<Plug>XselSetClipboard*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
16 <Leader>sc
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
17 <Plug>XselSetClipboard
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
18 Set the X CLIPBOARD to the content of the
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
19 unnamed register.
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
20
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
21 *<Leader>gc* *<Plug>XselGetClipboard*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
22 <Leader>gc
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
23 <Plug>XselGetClipboard
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
24 Get the content of the X CLIPBOARD selection
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
25 and store it in the unnamed register.
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
26
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
27 ==============================================================================
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
28 2. Commands *xsel-commands*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
29
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
30 *:SetClipboard*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
31 :SetClipboard {reg} Set the X CLIPBOARD to the content of the
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
32 register {reg}.
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
33
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
34 *:GetClipboard*
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
35 :GetClipboard {reg} Get the content of the X CLIPBOARD and store
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
36 it in the register {reg}.
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
37
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
38 ==============================================================================
c293edf9fbac Initial revision
Guido Berhoerster <guido+vim@berhoerster.name>
parents:
diff changeset
39 vim:tw=78:ts=8:ft=help:norl: