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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -