1 |
commit: a447957c965144fcf67049fddfaf89cb99d7a714 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Aug 18 00:56:01 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sat Aug 21 08:57:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a447957c |
7 |
|
8 |
app-vim/bracketed-paste: initial import |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
app-vim/bracketed-paste/Manifest | 1 + |
13 |
.../bracketed-paste-20180522.ebuild | 26 ++++++++++++++++++++++ |
14 |
app-vim/bracketed-paste/files/README.gentoo | 3 +++ |
15 |
app-vim/bracketed-paste/metadata.xml | 17 ++++++++++++++ |
16 |
4 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/app-vim/bracketed-paste/Manifest b/app-vim/bracketed-paste/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..b5666b261 |
21 |
--- /dev/null |
22 |
+++ b/app-vim/bracketed-paste/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST bracketed-paste-20180522.tar.gz 2010 BLAKE2B 068cf132b6b0ad1040c0297a31154d32d54c3640c699309d453709644a9d3d285c89c41c1f405516b4a0ff0d9aaf866e5fd7f32c70702450edaa4173e3303560 SHA512 39cf61394a09428cfc19a37b0594519c91828fcbec63d40b2f96263e52c46e39ce4214a77e80a67734d9cb8589060511db7146d913af5656bd8c4804a0415cdb |
25 |
|
26 |
diff --git a/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild b/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..a97f736ba |
29 |
--- /dev/null |
30 |
+++ b/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild |
31 |
@@ -0,0 +1,26 @@ |
32 |
+# Copyright 2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit readme.gentoo-r1 vim-plugin |
38 |
+ |
39 |
+COMMIT="c4c639f3cacd1b874ed6f5f196fac772e089c932" |
40 |
+DESCRIPTION="vim plugin: handles bracketed-paste-mode in vim (aka. automatic \`:set paste\`)" |
41 |
+HOMEPAGE="https://github.com/ConradIrwin/vim-bracketed-paste" |
42 |
+SRC_URI="https://github.com/ConradIrwin/vim-${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/vim-${PN}-${COMMIT}" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+src_install() { |
49 |
+ vim-plugin_src_install |
50 |
+ readme.gentoo_create_doc |
51 |
+} |
52 |
+ |
53 |
+pkg_postinst() { |
54 |
+ vim-plugin_pkg_postinst |
55 |
+ einfo |
56 |
+ readme.gentoo_print_elog |
57 |
+} |
58 |
|
59 |
diff --git a/app-vim/bracketed-paste/files/README.gentoo b/app-vim/bracketed-paste/files/README.gentoo |
60 |
new file mode 100644 |
61 |
index 000000000..6a1ad0bcb |
62 |
--- /dev/null |
63 |
+++ b/app-vim/bracketed-paste/files/README.gentoo |
64 |
@@ -0,0 +1,3 @@ |
65 |
+You need to be using a modern xterm-compatible terminal emulator that supports |
66 |
+bracketed paste mode. xterm, urxvt, iTerm2, konsole, gnome-terminal (and other |
67 |
+terminals using libvte) are known to work. |
68 |
|
69 |
diff --git a/app-vim/bracketed-paste/metadata.xml b/app-vim/bracketed-paste/metadata.xml |
70 |
new file mode 100644 |
71 |
index 000000000..b9504bbd7 |
72 |
--- /dev/null |
73 |
+++ b/app-vim/bracketed-paste/metadata.xml |
74 |
@@ -0,0 +1,17 @@ |
75 |
+<?xml version="1.0" encoding="UTF-8"?> |
76 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
77 |
+<pkgmetadata> |
78 |
+ <maintainer type="person"> |
79 |
+ <email>cyber+gentoo@×××××.in</email> |
80 |
+ <name>Anna</name> |
81 |
+ </maintainer> |
82 |
+ <longdescription> |
83 |
+ This is a tiny plugin that simply monitors your typing speed and |
84 |
+ `set paste` automatically. When then typing interval between two |
85 |
+ typed characters is less than 0.01s, it will `set paste` for |
86 |
+ you. Because there's no human being could type that fast! After |
87 |
+ you have finished pasting and leave insert mode, or if the file |
88 |
+ stays unchanged for about 0.1s, vim-paste-easy will `set |
89 |
+ nopaste` for you. |
90 |
+ </longdescription> |
91 |
+</pkgmetadata> |