Sublime Forum

[Git Formats] Command to open .git/config

#1

Would it be reasonable to add a command to the default Packages to open the .git/config file (and set highlighting?) for the current file’s repository? Or does that decidedly belong in a community-owned package?

0 Likes

#2

Feature Request: Best solution would propably for ST to provide some varialbes, which can be used by the open_file command.

{ "command": "open_file", "args": {"file": "$working_dir/.git/config", "syntax": "Git Config.sublime-syntax"}}

I currently use https://github.com/deathaxe/sublime-gitformats

1 Like