Skip to content

Show remote GIT branch status (push, pull, uptodate, diverged) in statusline (e.g. for vim-flagship)

Notifications You must be signed in to change notification settings

gauteh/vim-remote-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Remote status for statusline (e.g. Flagship)

Adds a remote status for your GIT branch for vim-flagship. Requires vim-fugitive.

If using vim-flagship:

  autocmd User Flags call Hoist("buffer", 1, "GitRemoteStatus")

You can use the GitRemoteStatus() function in your own statusline: >

  :echo call GitRemoteStatus()

If you want to try automatically fetching the remote try:

  let g:remote_status_auto_update = 1

The icons are UTF symbols, which will be used if g:webdevicons_enabled is 1 or g:remote_status_nerd_font is set to 1. See vim-devicons or nerdfonts for more information. See docs on how to set them manually.

For more help see :help remote-status.

About

Show remote GIT branch status (push, pull, uptodate, diverged) in statusline (e.g. for vim-flagship)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published