Update statusline function in README

This commit is contained in:
Tim Pope 2018-06-01 16:25:55 -04:00
parent 013ee636f5
commit dd4d4c7595

View File

@ -45,7 +45,7 @@ providers such as [GitHub][rhubarb.vim], [GitLab][fugitive-gitlab.vim], and
[fugitive-gitlab.vim]: https://github.com/shumphrey/fugitive-gitlab.vim
[fubitive.vim]: https://github.com/tommcdo/vim-fubitive
Add `%{fugitive#statusline()}` to `'statusline'` to get an indicator
Add `%{FugitiveStatusline()}` to `'statusline'` to get an indicator
with the current branch in (surprise!) your statusline.
Last but not least, there's `:Git` for running any arbitrary command,