-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy path.git_editor.sublime-project
executable file
·55 lines (43 loc) · 1.75 KB
/
.git_editor.sublime-project
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
50
51
52
53
54
55
// This file is part of eRCaGuy_dotfiles: https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles
// Git editor (such as the editor used for commit messages) settings
// - For Sublime Text Project Format settings help see here: https://www.sublimetext.com/docs/3/projects.html
// See also my answer here!:
// https://stackoverflow.com/questions/2596805/how-do-i-make-git-use-the-editor-of-my-choice-for-commits/48212377#48212377
// INSTRUCTIONS:
// Edit as desired, then copy entire file to user Home dir: `cp -i .git_editor.sublime-project ~`
{
"folders":
[
],
"settings":
{
// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": false,
// Set to a value other than 0 to force wrapping at that column rather than the
// window width
"wrap_width": 0,
// Columns in which to display vertical rulers
// - NB: the *first* value listed below is the one that text will be hard-wrapped to when you press Alt + Q or
// go to Edit --> Wrap --> Wrap Paragraph at Ruler.
"rulers":
[
// 72 is recommended by git for commit message content, and 50 for commit titles
72,
50,
// 80, 100, and 120 are common character widths for general code writing
// - on modern displays, I like to use 120
// 80,
// 100,
// 120,
],
// The number of spaces a tab is considered equal to
"tab_size": 4,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
},
"build_systems":
[
]
}