diff --git a/app-vim/bracketed-paste/Manifest b/app-vim/bracketed-paste/Manifest new file mode 100644 index 0000000000..b5666b2614 --- /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 0000000000..a97f736bae --- /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 0000000000..6a1ad0bcb8 --- /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 0000000000..b9504bbd70 --- /dev/null +++ b/app-vim/bracketed-paste/metadata.xml @@ -0,0 +1,17 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + 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. + +