A vim wrapper of zlin/wgetpaste focusing on making pastebin service (bpaste, codepad, dpaste, gist) more convenient. 中文
Select appropriate language type and service automatically according vim
syntax and language types each service supporting.
(e.g. If you want to paste a python file to pastebin, you only Wgetpaste!
in your vim.
Not need to type wgetpaste -l Python -s bpaste /the/path/of/file
in your
shell.)
[range]Wgetpaste[!]
- A distribution of vim. Such as vim/vim.
- zlin/wgetpaste.
According to https://github.com/zlin/wgetpaste/blob/master/wgetpaste#L2-L3 or
cat `which wgetpaste`|sed -n 2,3p
wgetpaste is
A Script that automates pasting to a number of pastebin services relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) and wget
Such as Shougo/dein.vim, Add the following code to your vimrc.
call dein#add('Freed-Wu/wgetpaste.vim')
Then type the code in the command line of vim:
call dein#install()
Or the following, need wsdjeg/dein-ui.vim.
SPInstall
Or the following, need haya14busa/dein-command.vim.
Dein install
Download the package first.
git clone https://github.com/Freed-Wu/wgetpaste.vim /path/to/save/this/package
Add the following code to your vimrc.
set runtimepath+=/path/to/save/this/package
See doc/wgetpaste.txt or type the code in the command line of vim:
help wgetpaste
and https://github.com/zlin/wgetpaste/blob/master/wgetpaste#L419-L433 or
wgetpaste --help
See more at Issues.
- mattn/pastebin-vim is a plugin providing support for pastebin.com.
- kpron/vim-dpaste is a plugin providing support for dpaste.