# Synctex

set synctex true
set synctex-editor-command "nvim --remote-silent +%{line} %{input}"

# Basic Settings

set highlight-transparency 0.5
set zoom-center "true"
set selection-clipboard clipboard
set render-loading "true"
set window-width 960
set window-height 1080
set window-title-basename "true"
set selection-clipboard "clipboard"
set adjust-open width
set recolor true

map <Space> toggle_index
map p print
map w recolor
map k 5k
map j 5k

set notification-error-bg       "#ebdbb2" # bg
set notification-error-fg       "#9d0006" # bright:red
set notification-warning-bg     "#ebdbb2" # bg
set notification-warning-fg     "#b57614" # bright:yellow
set notification-bg             "#ebdbb2" # bg
set notification-fg             "#79740e" # bright:green

set completion-bg               "#d5c4a1" # bg2
set completion-fg               "#3c3836" # fg
set completion-group-bg         "#ebdbb2" # bg1
set completion-group-fg         "#928374" # gray
set completion-highlight-bg     "#076678" # bright:blue
set completion-highlight-fg     "#d5c4a1" # bg2

# Define the color in index mode
set index-bg                    "#d5c4a1" # bg2
set index-fg                    "#3c3836" # fg
set index-active-bg             "#076678" # bright:blue
set index-active-fg             "#d5c4a1" # bg2

set inputbar-bg                 "#ebdbb2" # bg
set inputbar-fg                 "#3c3836" # fg

set statusbar-bg                "#d5c4a1" # bg2
set statusbar-fg                "#3c3836" # fg

#set highlight-color             "#b57614" # bright:yellow
#set highlight-active-color      "#af3a03" # bright:orange

set default-bg                  "#1d2021" # bg
set default-fg                  "#3c3836" # fg
set render-loading              true
set render-loading-bg           "#ebdbb2" # bg
set render-loading-fg           "#3c3836" # fg

# Recolor book content's color
set recolor-lightcolor          "#ebdbb2" # bg
set recolor-darkcolor           "#3c3836" # fg

set highlight-transparency 0.5
