2

I simply don't want them, prefer the git command line, but they are added to my commands as if they were installed, even if I never installed sublime merge.

sublime merge commands

Is there a way to remove them completly from sublime text command panel?

joseramonc
  • 1,811
  • 2
  • 21
  • 40

2 Answers2

5

The setting show_git_status controls this:

    // Shows git repository information next to files in sidebar and in
    // the status bar. Sublime Text has to be restarted for this to take
    // effect.
    "show_git_status": true,

It defaults to being turned on, but setting it to false and restarting Sublime will disable the general git support, which also stops the command palette entries from appearing, as well as the context menu entries.

OdatNurd
  • 21,371
  • 3
  • 50
  • 68
  • Oh ok, this does removes it, but is there a way to do so preserving general git support? Just want to get those commands out of the palette – joseramonc Jul 08 '20 at 22:38
  • 1
    The only way to remove the command palette items and the context menu entries would be to create an override on the associated files from the `Default` package to stop them from being there, as far as I'm aware. If you go that route, your change will mask updates to those files in future versions of Sublime. My `OverrideAudit` package can help you create the overrides as well as warn you. I can update the answer to include more info on both if desired. – OdatNurd Jul 08 '20 at 23:33
  • I understand how to do that, just thought it wasn't going to be that much complex. Thanks! – joseramonc Jul 17 '20 at 04:02
  • This works great, and you can use an alternate Sublime package for Git like Githubinator to maintain git powers – xHocquet Aug 02 '21 at 20:11
1

Starting with sublime 4 build 4121 we can now just set:

"sublime_merge_path": null

This will remove sublime merge integration, while preserving general git support

joseramonc
  • 1,811
  • 2
  • 21
  • 40