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

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -

python - How to create a legend for 3D bar in matplotlib? -