How do I use vim as 'git log' editor? -


when run git log, editor git log using?

also:

  1. is there anyway can use vim default editor git log?
  2. if want search against git log, what's best way? i'm doing like: git log | grep bla.

the git log command pipes it's output default pager, not editor. pager less or more on systems. can change default pager vim command:

git config --global core.pager 'vim -' 

now can search using vim functionality / usual.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -