commit: a447957c965144fcf67049fddfaf89cb99d7a714 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Wed Aug 18 00:56:01 2021 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sat Aug 21 08:57:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a447957c
app-vim/bracketed-paste: initial import Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> app-vim/bracketed-paste/Manifest | 1 + .../bracketed-paste-20180522.ebuild | 26 ++++++++++++++++++++++ app-vim/bracketed-paste/files/README.gentoo | 3 +++ app-vim/bracketed-paste/metadata.xml | 17 ++++++++++++++ 4 files changed, 47 insertions(+) diff --git a/app-vim/bracketed-paste/Manifest b/app-vim/bracketed-paste/Manifest new file mode 100644 index 000000000..b5666b261 --- /dev/null +++ b/app-vim/bracketed-paste/Manifest @@ -0,0 +1 @@ +DIST bracketed-paste-20180522.tar.gz 2010 BLAKE2B 068cf132b6b0ad1040c0297a31154d32d54c3640c699309d453709644a9d3d285c89c41c1f405516b4a0ff0d9aaf866e5fd7f32c70702450edaa4173e3303560 SHA512 39cf61394a09428cfc19a37b0594519c91828fcbec63d40b2f96263e52c46e39ce4214a77e80a67734d9cb8589060511db7146d913af5656bd8c4804a0415cdb diff --git a/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild b/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild new file mode 100644 index 000000000..a97f736ba --- /dev/null +++ b/app-vim/bracketed-paste/bracketed-paste-20180522.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 vim-plugin + +COMMIT="c4c639f3cacd1b874ed6f5f196fac772e089c932" +DESCRIPTION="vim plugin: handles bracketed-paste-mode in vim (aka. automatic \`:set paste\`)" +HOMEPAGE="https://github.com/ConradIrwin/vim-bracketed-paste" +SRC_URI="https://github.com/ConradIrwin/vim-${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/vim-${PN}-${COMMIT}" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +src_install() { + vim-plugin_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + vim-plugin_pkg_postinst + einfo + readme.gentoo_print_elog +} diff --git a/app-vim/bracketed-paste/files/README.gentoo b/app-vim/bracketed-paste/files/README.gentoo new file mode 100644 index 000000000..6a1ad0bcb --- /dev/null +++ b/app-vim/bracketed-paste/files/README.gentoo @@ -0,0 +1,3 @@ +You need to be using a modern xterm-compatible terminal emulator that supports +bracketed paste mode. xterm, urxvt, iTerm2, konsole, gnome-terminal (and other +terminals using libvte) are known to work. diff --git a/app-vim/bracketed-paste/metadata.xml b/app-vim/bracketed-paste/metadata.xml new file mode 100644 index 000000000..b9504bbd7 --- /dev/null +++ b/app-vim/bracketed-paste/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gen...@sysrq.in</email> + <name>Anna</name> + </maintainer> + <longdescription> + This is a tiny plugin that simply monitors your typing speed and + `set paste` automatically. When then typing interval between two + typed characters is less than 0.01s, it will `set paste` for + you. Because there's no human being could type that fast! After + you have finished pasting and leave insert mode, or if the file + stays unchanged for about 0.1s, vim-paste-easy will `set + nopaste` for you. + </longdescription> +</pkgmetadata>