A Vim plugin to XSnippet.org pastebin service.
Python Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
tests
.gitignore
.travis.yml
LICENSE
README.rst

README.rst

vim-xsnippet

vim-xsnippet is a simple Vim plugin that enables one to post code snippets to xsnippet.org pastebin service directly from Vim.

Requirements

  • Python 2.7+
  • Vim 7.x+ built with +python

Installation

Copy all files to your $VIMRUNTIME dir (usually ~/.vim).

Alternatively, if you are using Vundle plug-in manager for Vim, add the following line to your .vimrc:

Bundle 'xsnippet/vim-xsnippet'

Usage

:call PostToXsnippet()
posts the content of the current buffer to xsnippet.org and puts the snippet url to the clipboard

Info