Search Criteria
Package Details: vim-repeat 1.2-1
Git Clone URL: | https://aur.archlinux.org/vim-repeat.git (read-only, click to copy) |
---|---|
Package Base: | vim-repeat |
Description: | Use the repeat command (.) with supported plugins |
Upstream URL: | http://www.vim.org/scripts/script.php?script_id=2136 |
Licenses: | |
Groups: | |
Submitter: | None |
Maintainer: | FMB |
Last Packager: | FMB |
Votes: | 11 |
Popularity: | 0.009150 |
First Submitted: | 2010-03-04 22:41 |
Last Updated: | 2018-11-29 20:44 |
Latest Comments
atweiden commented on 2014-09-04 16:16
see also: vim-visualrepeat-git
notizblock commented on 2012-07-23 10:57
orphaned, because I use vundle for plugin management now.
Anonymous comment on 2011-03-27 21:47
To whom it may concern,
The original PKGBUILD named the downloaded file 'vim-repeat.vim', but scripts that use it call it from the 'autoload' directory via:
silent! call repeat#set("\<Plug>MappingToRepeatCommand",3)
From the vim documentation:
"""
A function that can be autoloaded has a name
like this: >
:call filename#funcname()
When such a function is called, and it is not defined yet, Vim will search the
"autoload" directories in 'runtimepath' for a script file called
"filename.vim". For example "~/.vim/autoload/filename.vim".
"""
Anyway, an updated PKGBUILD follows:
pkgname=vim-repeat
pkgver=1.0
_srcid=8206
_script_name=repeat.vim
pkgrel=1
pkgdesc="Use the repeat command (.) with supported plugins"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=2136"
license=('custom')
groups=('vim-plugins')
source=(${_script_name}::http://www.vim.org/scripts/download_script.php?src_id=${_srcid})
md5sums=('c73d6c832ca82ec292d0fda1d1f1a613')
package() {
install -d ${pkgdir}/usr/share/vim/vimfiles/autoload
install -D -m644 ${srcdir}/${_script_name} ${pkgdir}/usr/share/vim/vimfiles/autoload || return 1
}
Anonymous comment on 2010-10-27 17:06
Simply a mistake. I'm no longer an Arch user so please feel free to take over this PKGBUILD.
xrchz commented on 2010-10-27 16:29
why is the version 2.0? vim.org says 1.0