summaryrefslogtreecommitdiff
path: root/.config/zathura/zathurarc
diff options
context:
space:
mode:
authoradmin <contact@optics-design.com>2025-06-16 00:10:41 +0200
committeradmin <contact@optics-design.com>2025-06-16 00:10:41 +0200
commit7f1416d7c6774e10b529ec3604b5d67fbd7c583f (patch)
tree9defd05491b37505d92e29d1cfd8f21d125f96f2 /.config/zathura/zathurarc
Initial commitHEADmaster
Diffstat (limited to '.config/zathura/zathurarc')
-rw-r--r--.config/zathura/zathurarc112
1 files changed, 112 insertions, 0 deletions
diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc
new file mode 100644
index 0000000..d50135e
--- /dev/null
+++ b/.config/zathura/zathurarc
@@ -0,0 +1,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