Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way of stopping Sublime Text's Git plugin messing with the status bar?

I'm using the Sublime Text Git plugin (with ST3), but I don't need or want the stuff it adds to the status bar (at the bottom of the UI). I can't seem to turn that off though. In Git.sublime-settings I've set both statusbar_branch and statusbar_status to false, which has removed some but not all of the plugin's status bar output. I still get "Comparing against: HEAD". Is there any way to disable this too?

like image 265
Nick F Avatar asked Mar 20 '15 14:03

Nick F


People also ask

Can you use Git with Sublime Text?

From version 3.2 onwards, Sublime Text has git integration in the editor. The features are: The sidebar will show the git status of files and folders with a badge/icon.

Does Sublime Text support GitHub?

The other day I stumbled across a neat Sublime Text package called Sublime GitHub that eases the pain of tasks like these and more. This package allows you to highlight lines in Sublime, type a command into the Command Palette, and automatically takes you to that particular line(s) in the remote repo.


1 Answers

The “Comparing against HEAD” message in the status bar is actually not produced by the Git plugin, but by GitGutter.

  // Determines whether GitGutter will show informations in the status bar
  // Set "none" to hide these informations
  // Set "default" to show in the status bar what you are comparing
  // against, how many lines have been inserted or modified and how many regions
  // have been deleted.
  // Set "all" to also show on what branch you are
  "show_status": "default",

The default configuration is to show information from GitGutter in the status bar.

If you wish to disable it, simply set show_status to none, as indicated by the comments.

like image 53
Léo Lam Avatar answered Sep 25 '22 13:09

Léo Lam