summaryrefslogtreecommitdiff
path: root/.config/zathura/zathurarc
blob: d50135e9496745d0910d9ec263ebd6a4a7785278 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Zathura configuration with vim keybinds
# Save as ~/.config/zathura/zathurarc

# Vim-like navigation
map j scroll down
map k scroll up
map h scroll left
map l scroll right

# Page navigation
map J navigate next
map K navigate previous
map g goto top
map G goto bottom

# Zoom controls
map + zoom in
map - zoom out
map = zoom in
map 0 adjust_window best-fit
map a adjust_window width
map s adjust_window height

# Search (vim-like)
map / search forward
map ? search backward
map n search next
map N search previous

# Quit
map q quit
map ZZ quit
map ZQ quit

# Reload
map r reload
map R rotate

# Fullscreen/presentation
map f toggle_fullscreen
map F5 toggle_presentation

# Page mode
map d toggle_page_mode

# Index/outline
map o toggle_index
map O toggle_index

# Copy to clipboard
map y feedkeys ":exec echo -n %{filepath} | xclip -selection clipboard<Return>"

# Invert colors (useful for dark mode)
map i recolor

# Jump to page
map gg goto top
map <C-o> jumplist backward
map <C-i> jumplist forward

# More precise scrolling
map <C-d> scroll half-down
map <C-u> scroll half-up
map <C-f> scroll full-down
map <C-b> scroll full-up

# Horizontal scrolling
map H scroll left
map L scroll right

# Mark positions (vim-like)
map m mark_add

# Status bar
set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
set selection-clipboard clipboard

# Color scheme (optional - dark theme)
# set notification-error-bg       "#282828"
# set notification-error-fg       "#fb4934"
# set notification-warning-bg     "#282828"
# set notification-warning-fg     "#fabd2f"
# set notification-bg             "#282828"
# set notification-fg             "#b8bb26"
# set completion-bg               "#504945"
# set completion-fg               "#ebdbb2"
# set completion-group-bg         "#3c3836"
# set completion-group-fg         "#928374"
# set completion-highlight-bg     "#83a598"
# set completion-highlight-fg     "#504945"
# set index-bg                    "#504945"
# set index-fg                    "#ebdbb2"
# set index-active-bg             "#83a598"
# set index-active-fg             "#504945"
# set inputbar-bg                 "#282828"
# set inputbar-fg                 "#ebdbb2"
# set statusbar-bg                "#504945"
# set statusbar-fg                "#ebdbb2"
# set highlight-color             "#fabd2f"
# set highlight-active-color      "#fe8019"
# set default-bg                  "#282828"
# set default-fg                  "#ebdbb2"
# set render-loading              true
# set render-loading-bg           "#282828"
# set render-loading-fg           "#ebdbb2"
# set recolor-lightcolor          "#282828"
# set recolor-darkcolor           "#ebdbb2"

# Performance
set scroll-step 50
Back to https://optics-design.com