61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
# zathurarc
|
|
|
|
# settings
|
|
set window-height 1024
|
|
set window-width 768
|
|
set adjust-open width
|
|
# set show-scrollbars true
|
|
set first-page-column 2
|
|
set window-title-basename true
|
|
# set database sqlite
|
|
set recolor-keephue
|
|
set selection-clipboard clipboard
|
|
# various hb
|
|
set recolor
|
|
set font "Fixed 12"
|
|
set inputbar-fg "#222222"
|
|
|
|
|
|
# key bindings
|
|
# map <C-[> abort # Still doesn't work :(
|
|
map [normal] <F11> toggle_fullscreen
|
|
map [fullscreen] <F11> toggle_fullscreen
|
|
map [normal] <C-l> reload
|
|
map [fullscreen] <C-l> reload
|
|
|
|
map [normal] e scroll down
|
|
map [fullscreen] e scroll down
|
|
map [normal] <C-e> scroll down
|
|
map [fullscreen] <C-e> scroll down
|
|
map [normal] y scroll up
|
|
map [fullscreen] y scroll up
|
|
map [normal] <C-y> scroll up
|
|
map [fullscreen] <C-y> scroll up
|
|
map [normal] R rotate rotate-ccw
|
|
map [fullscreen] R rotate rotate-ccw
|
|
|
|
map [normal] <PageUp> navigate previous
|
|
map [fullscreen] <PageUp> navigate previous
|
|
map [normal] <PageDown> navigate next
|
|
map [fullscreen] <PageDown> navigate next
|
|
|
|
map [normal] <A-1> set "first-page-column 1:1"
|
|
map [fullscreen] <A-1> set "first-page-column 1:1"
|
|
map [normal] <A-2> set "first-page-column 1:2"
|
|
map [fullscreen] <A-2> set "first-page-column 1:2"
|
|
|
|
# Why are these only defined for normal mode by default?
|
|
map [fullscreen] a adjust_window best-fit
|
|
map [fullscreen] s adjust_window width
|
|
map [fullscreen] f follow
|
|
map [fullscreen] d toggle_page_mode 2
|
|
map [fullscreen] <Tab> toggle_index
|
|
map [fullscreen] j scroll down
|
|
map [fullscreen] k scroll up
|
|
map [fullscreen] <C-d> scroll half-down
|
|
map [fullscreen] <C-u> scroll half-up
|
|
map [fullscreen] <C-o> jumplist backward
|
|
map [fullscreen] <C-i> jumplist forward
|
|
|
|
map [index] q quit
|