summaryrefslogtreecommitdiff
path: root/ted.cfg
blob: aecf14e018c67f5c7e93a54e2e20f1d95880825b (plain)
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
56
57
[core]
tab-width = 4
cursor-width = 1
# if you do a bunch of typing, then undo, it will generally
# undo the past this many seconds of editing.
undo-save-time = 6

[keyboard]
# motion keys
Left = :left
Shift+Left = :select-left
Ctrl+Left = :left-word
Ctrl+Shift+Left = :select-left-word
Right = :right
Shift+Right = :select-right
Ctrl+Right = :right-word
Ctrl+Shift+Right = :select-right-word
Up = :up
Shift+Up = :select-up
Down = :down
Shift+Down = :select-down
Ctrl+Up = 10 :up
Ctrl+Shift+Up = 10 :select-up
Ctrl+Down = 10 :down
Ctrl+Shift+Down = 10 :select-down
Home = :start-of-line
Shift+Home = :select-start-of-line
Ctrl+Home = :start-of-file
Ctrl+Shift+Home = :select-start-of-file
End = :end-of-line
Shift+End = :select-end-of-line
Ctrl+End = :end-of-file
Ctrl+Shift+End = :select-end-of-file

# deletion
Delete = :delete
Ctrl+Delete = :delete-word
Backspace = :backspace
Ctrl+Backspace = :backspace-word

# scrolling
PageUp = :page-up
PageDown = :page-down
Ctrl+PageUp = 10 :page-up
Ctrl+PageDown = 10 :page-down

Ctrl+s = :save
Ctrl+z = :undo
Ctrl+Shift+z = :redo

[colors]
border = #a77
cursor-line-bg = #222
cursor = #3ff
selection-bg = #36aa
text = #fff
bg = #001