Skip to content

Plugin for listing the modified files since last commit by using git status.

Notifications You must be signed in to change notification settings

ElHacker/vim-gitstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-gitstatus.vim

vim-gitstatus.vim is a plugin for listing all the file paths that have differences between git's index file and the current HEAD commit.

The modified and new file paths show up in vim's quickfix.

Demo

GitStatus demo

Requirements

Must have git previously installed.

Installation

Install using your favorite package manager, or use Vim's building package support:

mkdir -p ~/.vim/pack/elhacker/start
cd ~/.vim/pack/elhacker/start
git clone https://github.com/ElHacker/vim-gitstatus.git
vim -u NONE -c "helptags vim-gitstatus/doc" -c q

Key maps

vim-gitstatus.vim doesn't map anything itself. If you'd like to have a key mapping add this to your /.vimrc file:

nnoremap <leader>gs :GitStatus<CR>

About

Plugin for listing the modified files since last commit by using git status.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published