Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 3.9

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 plugin
Octocat-spinner-32 README
This is a mirror of

This is vimscript for gist (


    post whole text to gist.

    post selected text to gist.

  :Gist -p
    post whole text to gist with private.

  :Gist -a
    post whole text to gist with anonymous.

  :Gist -e
    edit the gist. (shoud be work on gist buffer)
    you can update the gist with :w command on gist buffer.

  :Gist -e foo.js
    edit the gist with name 'foo.js'. (shoud be work on gist buffer)

  :Gist XXXXX
    get gist XXXXX.

  :Gist -c XXXXX.
    get gist XXXXX and put to clipboard.

  :Gist -l
    list gists from mine.

  :Gist -la
    list gists from all.

  if set g:gist_clip_command, gist.vim will copy the gist code
    with option '-c'.

    # mac
    let g:gist_clip_command = 'pbcopy'

    # linux
    let g:gist_clip_command = 'xclip -selection clipboard'

    # others(cygwin?)
    let g:gist_clip_command = 'putclip'

  if you want to detect filetype from filename...

    let g:gist_detect_filetype = 1

  if you want to open browser after the post...

    let g:gist_open_browser_after_post = 1

  if you want to change the browser...

    let g:gist_browser_command = 'w3m %URL%'


    let g:gist_browser_command = 'opera %URL% &'

    on windows, should work with your setting.

  curl command (
  and if you want to use profile of git, it require git command.

Something went wrong with that request. Please try again.