-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathGitHub.sublime-settings
49 lines (46 loc) · 2.1 KB
/
GitHub.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Sublime GitHub default settings */
{
"accounts": {
"GitHub": {
"base_uri": "https://api.github.com",
"github_token": ""
}
},
// You can add support for a private GitHub installation by adding another entry
// to the accounts entry in the User settings file (Preferences ->
// Package Settings -> GitHub -> Settings - User). You can then switch between
// accounts via the GitHub: Switch Accounts command
//
// "YourCo": {
// "base_uri": "https://github.yourco.com/api/v3",
// "github_token": "",
// "protocol": "http", // default is "https"
// "remote": "upsteam" // default is "" (no remote)
// }
// The format of the each line in the list of gists.
// The value is either a Python format string, or a list of Python format
// strings. In the latter case, each element of the list will be a separate
// line in the select list.
// Valid parameters:
// filename - filename of [first file in] gist
// description - description of gist
// index - 1-based index of gist in the list
//
// Some things to try:
// "gist_list_format": "%(index)d. %(filename)s: %(description)s",
// "gist_list_format": ["%(filename)s", "%(description)s"],
"gist_list_format": "%(filename)s: %(description)s",
// If true, display the list of gists in a monospace font
"gist_list_monospace": false,
// [sort key, order (true = reversed)] for the list of gists; valid values are any of the top-level
// elements in the gist API response. E.g.: created_at, updated_at, description
// Default is the default sort key & order from GitHub, which is created_at desc
"gist_list_sort_by": ["created_at", true],
// Highlight the line the cursor is on in GitHub, even if the line is not selected
"always_highlight_current_line": false,
// output debug info to the console
"debug": false,
// The default branch to use when issuing Copy Remote URL to Clipboard, Open Remote URL in Browser, View, Blame,
// History, or Edit commands
"default_branch": "main",
}