]> git.r.bdr.sh - rbdr/dotfiles/blob - config/aerc/binds.conf
Update config
[rbdr/dotfiles] / config / aerc / binds.conf
1 # Binds are of the form <key sequence> = <command to run>
2 # To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
3 # If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
4 <C-p> = :prev-tab<Enter>
5 <C-n> = :next-tab<Enter>
6 <C-t> = :term<Enter>
7 ? = :help keys<Enter>
8
9 [messages]
10 s = :flag -t -x Flagged<Enter>
11 q = :quit<Enter>
12
13 j = :next<Enter>
14 <Down> = :next<Enter>
15 <C-d> = :next 50%<Enter>
16 <C-f> = :next 100%<Enter>
17 <PgDn> = :next 100%<Enter>
18
19 k = :prev<Enter>
20 <Up> = :prev<Enter>
21 <C-u> = :prev 50%<Enter>
22 <C-b> = :prev 100%<Enter>
23 <PgUp> = :prev 100%<Enter>
24 g = :select 0<Enter>
25 G = :select -1<Enter>
26
27 J = :next-folder<Enter>
28 K = :prev-folder<Enter>
29 H = :collapse-folder<Enter>
30 L = :expand-folder<Enter>
31
32 v = :mark -t<Enter>
33 V = :mark -v<Enter>
34
35 T = :toggle-threads<Enter>
36
37 <Enter> = :view<Enter>
38 d = :prompt 'Really delete this message?' 'delete-message'<Enter>
39 D = :delete<Enter>
40 A = :read <Enter> :archive flat<Enter>
41
42 C = :compose<Enter>
43
44 rr = :reply -a<Enter>
45 rq = :reply -aq<Enter>
46 Rr = :reply<Enter>
47 Rq = :reply -q<Enter>
48
49 c = :cf<space>
50 $ = :term<space>
51 ! = :term<space>
52 | = :pipe<space>
53
54 / = :search<space>
55 \ = :filter<space>
56 n = :next-result<Enter>
57 N = :prev-result<Enter>
58 <Esc> = :clear<Enter>
59
60 [messages:folder=Drafts]
61 <Enter> = :recall<Enter>
62
63 [view]
64 / = :toggle-key-passthrough<Enter>/
65 q = :close<Enter>
66 O = :open<Enter>
67 S = :save<space>
68 | = :pipe<space>
69 D = :delete<Enter>
70 A = :read <Enter> :archive flat<Enter>
71
72 <C-l> = :open-link <space>
73
74 f = :forward<Enter>
75 rr = :reply -a<Enter>
76 rq = :reply -aq<Enter>
77 Rr = :reply<Enter>
78 Rq = :reply -q<Enter>
79
80 H = :toggle-headers<Enter>
81 <C-k> = :prev-part<Enter>
82 <C-j> = :next-part<Enter>
83 J = :next<Enter>
84 K = :prev<Enter>
85
86 ga = :pipe -mb git am -3<Enter>
87 gp = :term git push<Enter>
88 rt = :reply -Tthanks<Enter>
89
90 [view::passthrough]
91 $noinherit = true
92 $ex = <C-x>
93 <Esc> = :toggle-key-passthrough<Enter>
94
95 [compose]
96 # Keybindings used when the embedded terminal is not selected in the compose
97 # view
98 $noinherit = true
99 $ex = <C-x>
100 <C-k> = :prev-field<Enter>
101 <C-j> = :next-field<Enter>
102 <A-p> = :switch-account -p<Enter>
103 <A-n> = :switch-account -n<Enter>
104 <tab> = :next-field<Enter>
105 <backtab> = :prev-field<Enter>
106 <C-p> = :prev-tab<Enter>
107 <C-n> = :next-tab<Enter>
108
109 [compose::editor]
110 # Keybindings used when the embedded terminal is selected in the compose view
111 $noinherit = true
112 $ex = <C-x>
113 <C-k> = :prev-field<Enter>
114 <C-j> = :next-field<Enter>
115 <C-p> = :prev-tab<Enter>
116 <C-n> = :next-tab<Enter>
117
118 [compose::review]
119 # Keybindings used when reviewing a message to be sent
120 y = :send<Enter>
121 n = :abort<Enter>
122 v = :preview<Enter>
123 p = :postpone<Enter>
124 q = :choose -o d discard abort -o p postpone postpone<Enter>
125 e = :edit<Enter>
126 a = :attach<space>
127 d = :detach<space>
128
129 [terminal]
130 $noinherit = true
131 $ex = <C-x>
132
133 <C-p> = :prev-tab<Enter>
134 <C-n> = :next-tab<Enter>