app-vim/bracketed-paste: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-18 05:56:01 +05:00
parent d9e8363daf
commit a447957c96
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST bracketed-paste-20180522.tar.gz 2010 BLAKE2B 068cf132b6b0ad1040c0297a31154d32d54c3640c699309d453709644a9d3d285c89c41c1f405516b4a0ff0d9aaf866e5fd7f32c70702450edaa4173e3303560 SHA512 39cf61394a09428cfc19a37b0594519c91828fcbec63d40b2f96263e52c46e39ce4214a77e80a67734d9cb8589060511db7146d913af5656bd8c4804a0415cdb

View File

@@ -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
}

View File

@@ -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.

View File

@@ -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+gentoo@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>