Skip to content

Instantly share code, notes, and snippets.

@kovagoz
Created September 5, 2014 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kovagoz/6515160ae67d2eb2be4a to your computer and use it in GitHub Desktop.
Save kovagoz/6515160ae67d2eb2be4a to your computer and use it in GitHub Desktop.
Call "tig status" from Vim
function! TigStatus()
silent !tig status
redraw!
endfunction
nnoremap <silent> gs :call TigStatus()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment