Skip to content

flynnguy/ctpaste-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

This is vimscript for CodeTrunk (http://code.google.com/p/codetrunk/)

Codetrunk is a pastebin type website.

Requirements:
  Required python support compiled into vim as well as the mechanize library.

Configure:
  You need to setup a pastebin server either in your ~/.bash_profile or in your ~/.vimrc

  ~/.bash_profile
    export PASTEBIN='http://paste.example.com/'
  ~/.vimrc
    let g:pastebin='http://paste.example.com/'

  Also you can configure your name that shows up. This is only configured in your ~/.vimrc
    let g:pastebin_user="vim plugin"

Useage:
  Paste a selection of text/code:
    :PasteCode
    :PasteCodeM
    :PasteCodeF

  Paste the entire buffer:
    :PasteFile
    :PasteFileM
    :PasteFileF

  The default is to post for a day. The M and F suffixes allow you to post it Monthly and Forever respectively.

About

Paste to a CodeTrunk instance from vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published