/ctrlp-modified.vim

Easily open locally modified files in your git-versioned projects.

Primary LanguageVimL

ctrlp-modified.vim

Easily open locally modified files in your git-versioned projects.

The idea is that you're likely to be editing the same files again, or maybe you just want to catch up on the progress you've made after coming back from a break.

  • :CtrlPModified shows all files which have been modified since your last commit.
  • :CtrlPBranch shows all files modified on your current branch.

Installation

Add ctrlp-modified after ctrlp in your Vundle config:

Bundle 'kien/ctrlp.vim'
Bundle 'jasoncodes/ctrlp-modified.vim'

Then set yourself up some mappings:

map <Leader>m :CtrlPModified<CR>
map <Leader>M :CtrlPBranch<CR>

License

MIT License.