How do I use vim as 'git log' editor? -
when run git log
, editor git log
using?
also:
- is there anyway can use
vim
default editorgit log
? - 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
Post a Comment