Skip to content

Instantly share code, notes, and snippets.

@bdryanovski
Created January 18, 2012 21:18
Show Gist options
  • Select an option

  • Save bdryanovski/1635717 to your computer and use it in GitHub Desktop.

Select an option

Save bdryanovski/1635717 to your computer and use it in GitHub Desktop.

Vim Shortcuts

gist-vim.vim

Post current buffer to gist, using default privacy option
:Gist

Edit the gist ( must open it first )
:Gist -e

Delete gist
:Gist -d

Fork gist
:Gist -f

Get gist xxxx
:Gist xxxx

Get gist and coppy to clipboard
:Gist -c xxxx

List your public gists
:Gist -l

List gist from user
:Gist -l user

github_search.vim

Search into Github repositories.
:GHSearchRepo

figutive.vim

:Gdiff - git diff
:Gstatus - git status
:Gcommit - git commit
:Gblame - git blame
:Gmove - git mv
:Gremove - git rm
:Ggrep - gir grep
:Glog - view git logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment