Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 880 Bytes

README.rst

File metadata and controls

43 lines (27 loc) · 880 Bytes

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