]> git.vanrenterghem.biz Git - Dotty.git/blob - zathura/.config/zathura/zathurarc
Use mu4e to send marked dired files as attachments.
[Dotty.git] / zathura / .config / zathura / zathurarc
1 # Being an Emacs user, it is natural for me to use emacs-like and info-like keybindings for zathura.
2
3 # Zathura configuration documentation is available at
4 # https://git.pwmt.org/pwmt/zathura/-/blob/e5d2ca487147e79d0bb7acbf5174cd9dcc92a86c/doc/man/zathurarc.5.rst
5 # A full list of available functions and default keybindings is available at
6 # https://git.pwmt.org/pwmt/zathura/-/blob/e5d2ca487147e79d0bb7acbf5174cd9dcc92a86c/zathura/config.c#L301
7
8 # If you want to integrate Zathura with Emacs AUCTeX mode, see
9 # [emacs wiki](https://www.emacswiki.org/emacs/AUCTeX).
10
11 # Put the following inside `$XDG_CONFIG_HOME/zathura/zathurarc
13 ## niceties
14 # when selecting text with mouse,
15 # copy to clipboard
16 set selection-clipboard clipboard
18 # keep several lines of text when
19 # scrolling a screenful
20 set scroll-full-overlap 0.2
22 # see documentation for details
23 set scroll-page-aware true
24 set window-title-basename true
25 set adjust-open width
26 set statusbar-home-tilde true
27 set vertical-center true
28 set synctex true
29 # large bold font easier on the eyes in index mode
30 # status bar can be disabled with A-s
31 set font "FreeSans bold 16"
32 set zoom-step 3
34 map [normal] <C-b> scroll left
35 map [normal] <C-n> scroll down
36 map [normal] <C-p> scroll up
37 map [normal] <C-f> scroll right
38 map [normal] <C-g> abort
39 map [insert] <C-g> abort
40 map [normal] <C-[> abort
41 map [normal] <A-\<> goto top
42 map [normal] <A-\>> goto bottom
43 map [normal] a adjust_window best-fit
44 map [normal] s adjust_window width
45 map [normal] F display_link
46 map [normal] <C-c> copy_link
47 map [normal] f follow
48 map [normal] m mark_add
49 map [normal] \' mark_evaluate
50 map [normal] \, navigate next
51 map [normal] \. navigate previous
52 map [normal] <A-Right> navigate next
53 map [normal] <A-Left> navigate previous
54 map [normal] <PageDown> scroll full-down
55 map [normal] <PageUp> scroll full-up
56 map [normal] <C-P> print
57 map [normal] c recolor
58 map [normal] R reload
59 map [normal] v rotate rotate_cw
60 map [normal] V rotate rotate_ccw
61 map [normal] <Left> scroll left
62 map [normal] <Up> scroll up
63 map [normal] <Down> scroll down
64 map [normal] <Right> scroll right
65 map [normal] <A-a> scroll half-left
66 map [normal] <C-V> scroll half-down
67 map [normal] <A-V> scroll half-up
68 map [normal] <A-e> scroll half-right
69 map [normal] <C-a> scroll full-left
70 map [normal] <C-v> scroll full-down
71 map [normal] <Return> scroll full-down
72 map [normal] <A-v> scroll full-up
73 map [normal] <C-e> scroll full-right
74 map [normal] <Space> scroll full-down
75 map [normal] <C-h> scroll full-up
76 map [normal] <BackSpace> scroll full-up
77 map [normal] <S-Space> scroll full-up
78 map [normal] l jumplist backward
79 map [normal] r jumplist forward
80 map [normal] <A-r> bisect forward
81 map [normal] <A-l> bisect backward
82 # still need to use '/' to trigger search
83 map [normal] <C-s> search forward
84 map [normal] <C-r> search backward
85 map [normal] p snap_to_page
86 map [normal] <C-i> toggle_index
87 map [normal] i toggle_index
88 map [normal] <Tab> toggle_index
89 map [normal] <A-s> toggle_statusbar
90 map [normal] <A-i> focus_inputbar
91 map [normal] d toggle_page_mode
92 map [normal] q quit
93 map [normal] + zoom in
94 map [normal] - zoom out
95 map [normal] = zoom in
96 map [normal] <A-P> toggle_presentation
97 map [normal] <A-F> toggle_fullscreen
98 map [normal] j toggle_fullscreen
99 map [fullscreen] j toggle_fullscreen
100 map [fullscreen] q toggle_fullscreen
101 map [fullscreen] <C-b> scroll left
102 map [fullscreen] <C-n> scroll down
103 map [fullscreen] <C-p> scroll up
104 map [fullscreen] <C-f> scroll right
105 map [fullscreen] <C-g> abort
106 map [fullscreen] <C-[> abort
107 map [fullscreen] <A-\<> goto top
108 map [fullscreen] <A-\>> goto bottom
109 map [fullscreen] a adjust_window best-fit
110 map [fullscreen] s adjust_window width
111 map [fullscreen] F display_link
112 map [fullscreen] <C-c> copy_link
113 map [fullscreen] f follow
114 map [fullscreen] m mark_add
115 map [fullscreen] \' mark_evaluate
116 map [fullscreen] \, navigate next
117 map [fullscreen] \. navigate previous
118 map [fullscreen] <A-Right> navigate next
119 map [fullscreen] <A-Left> navigate previous
120 map [fullscreen] <PageDown> scroll full-down
121 map [fullscreen] <PageUp> scroll full-up
122 map [fullscreen] <C-P> print
123 map [fullscreen] c recolor
124 map [fullscreen] R reload
125 map [fullscreen] v rotate rotate_cw
126 map [fullscreen] V rotate rotate_ccw
127 map [fullscreen] <Left> scroll left
128 map [fullscreen] <Up> scroll up
129 map [fullscreen] <Down> scroll down
130 map [fullscreen] <Right> scroll right
131 map [fullscreen] <A-a> scroll half-left
132 map [fullscreen] <C-V> scroll half-down
133 map [fullscreen] <A-V> scroll half-up
134 map [fullscreen] <A-e> scroll half-right
135 map [fullscreen] <C-a> scroll full-left
136 map [fullscreen] <C-v> scroll full-down
137 map [fullscreen] <Return> scroll full-down
138 map [fullscreen] <A-v> scroll full-up
139 map [fullscreen] <C-e> scroll full-right
140 map [fullscreen] <Space> scroll full-down
141 map [fullscreen] <C-h> scroll full-up
142 map [fullscreen] <BackSpace> scroll full-up
143 map [fullscreen] <S-Space> scroll full-up
144 map [fullscreen] l jumplist backward
145 map [fullscreen] r jumplist forward
146 map [fullscreen] <A-r> bisect forward
147 map [fullscreen] <A-l> bisect backward
148 map [fullscreen] <C-s> search forward
149 map [fullscreen] <C-r> search backward
150 map [fullscreen] p snap_to_page
151 map [fullscreen] i toggle_index
152 map [fullscreen] <C-i> toggle_index
153 map [fullscreen] <Tab> toggle_index
154 map [fullscreen] <A-s> toggle_statusbar
155 map [fullscreen] <A-i> focus_inputbar
156 map [fullscreen] d toggle_page_mode
157 map [fullscreen] + zoom in
158 map [fullscreen] - zoom out
159 map [fullscreen] = zoom in
160 # status bar will obscure last item in index mode
161 map [index] <A-s> toggle_statusbar
162 map [index] q toggle_index
163 map [index] i toggle_index
164 map [index] <C-p> navigate_index up
165 map [index] <C-h> navigate_index up
166 map [index] <BackSpace> navigate_index up
167 map [index] <C-n> navigate_index down
168 map [index] <A-v> navigate_index up
169 map [index] <C-v> navigate_index down
170 map [index] \< navigate_index top
171 map [index] \> navigate_index bottom
172 map [index] <A-\<> navigate_index top
173 map [index] <A-\>> navigate_index bottom
174 map [index] <C-b> navigate_index collapse
175 map [index] <C-f> navigate_index expand
176 map [index] <C-i> navigate_index expand-all
177 map [index] <A-i> navigate_index collapse-all
178 map [index] <Up> navigate_index up
179 map [index] <Down> navigate_index down
180 map [index] <Left> navigate_index collapse
181 map [index] <Right> navigate_index expand
182 map [index] <C-m> navigate_index select
183 map [index] <Space> navigate_index select
184 map [index] <Return> navigate_index select
185 map [index] <C-j> navigate_index select
186 map [index] <Esc> toggle_index
187 map [index] <C-[> toggle_index
188 map [index] <C-g> toggle_index
189 map [index] <C-c> toggle_index
190 map [presentation] i toggle_index
191 map [presentation] r navigate next
192 map [presentation] <Down> navigate next
193 map [presentation] <Right> navigate next
194 map [presentation] <PageDown> navigate next
195 map [presentation] <Space> navigate next
196 map [presentation] l navigate previous
197 map [presentation] <Left> navigate previous
198 map [presentation] <Up> navigate previous
199 map [presentation] <PageUp> navigate previous
200 map [presentation] <S-Space> navigate previous
201 map [presentation] <BackSpace> navigate previous
202 map [presentation] <F5> toggle_presentation
203 map [presentation] q toggle_presentation
204 map [presentation] <C-h> navigate previous
205 map [presentation] <M-v> navigate previous
206 map [presentation] <C-v> navigate next
207 map [presentation] <A-\<> goto top
208 map [presentation] <A-\>> goto bottom