Dpaste.com Plugin


Ⅰ. 插件描述

A simple script to send your buffer or selection to Dpaste.com and returns a url

Ⅱ. 基本信息

创建日期:  2009-03-16
使用用户:  3
Github星:  4
插件作者:  Bartek Ciszkowski

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/dpaste-com-plugin'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/dpaste-com-plugin'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/dpaste-com-plugin'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Dpaste.com-Plugin

Ⅳ. 文档说明

dpaste.vim is a vim plugin for pasting to dpaste.com (#django's favourite paste bin!)

The core of the script was inspired by LodgeIt.vim, which is also for a paste bin site.

Thanks to Paul Bissex (or pbx on irc) for creating dpaste.

Usage:

  • :Dpaste  (create a paste from the current buffer or selection)

You can also map paste to CTRL + P, just add this to your .vimrc:
map ^P :Dpaste<CR>
(where ^P is entered using CTRL + V, CTRL + P in Vim)

添加新评论