nopaste.vim : Nopaste interface to http://www.rafb.net/ from inside vim
script karma |
Rating 4/1,
Downloaded by 810 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Nikola Petrov |
|
script type |
utility |
|
description |
This is a simple interface to http://www.rafb.net/ which need vim's python interface as a dependency. Edit a file, then issue the command
:Paste
and it will post the whole file on rafb. The link will come in your clipboard(* and +) as default, so you can post it with Ctrl + v or middle mouse button somewhere on IRC, browsers, etc. I also have that map in my ~/.vimrc
vnoremap <leader>paste y:call Paste('<C-R>"')<cr><cr>
with which you can paste just a snippet from the file. Just select the block/text in VISUAL mode and hit <leader>paste this will copy the text to the site, note <leader> is \ as default in vim.
|
|
install details |
Put the vim file in your ~/.vim/plugin on Unix and ~/vimfiles/plugin on Windows.
You should also set g:nickname to your nickname with something like this
let g:nickname = "nikolavp" |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.137.179.200
|