119 lines
2.3 KiB
Plaintext
119 lines
2.3 KiB
Plaintext
|
# -*- mode: conf -*-
|
||
|
set selection-clipboard clipboard
|
||
|
|
||
|
set incremental-search true
|
||
|
set search-hadjust true
|
||
|
|
||
|
set scroll-page-aware true
|
||
|
set statusbar-home-tilde true
|
||
|
|
||
|
set synctex-editor-command 'emacsclient -c'
|
||
|
|
||
|
set show-directories false
|
||
|
|
||
|
# Theme
|
||
|
set default-bg '#2e3440'
|
||
|
set default-fg '#eceff4'
|
||
|
set completion-bg '#2e3440'
|
||
|
set completion-fg '#eceff4'
|
||
|
set completion-group-bg '#2e3440'
|
||
|
set completion-group-fg '#eceff4'
|
||
|
set completion-highlight-bg '#8fbcbb'
|
||
|
set completion-highlight-fg '#eceff4'
|
||
|
set inputbar-bg '#2e3440'
|
||
|
set inputbar-fg '#eceff4'
|
||
|
|
||
|
set highlight-active-color '#5e81ac'
|
||
|
set highlight-color '#8fbcbb'
|
||
|
|
||
|
set render-loading-bg '#2e3440'
|
||
|
set render-loading-fg '#eceff4'
|
||
|
set statusbar-bg '#2e3440'
|
||
|
set statusbar-fg '#eceff4'
|
||
|
set scrollbar-bg '#2e3440'
|
||
|
set scrollbar-fg '#eceff4'
|
||
|
|
||
|
set recolor true
|
||
|
set recolor-darkcolor '#eceff4'
|
||
|
set recolor-lightcolor '#2e3440'
|
||
|
set recolor-keephue true
|
||
|
|
||
|
set guioptions ""
|
||
|
|
||
|
# keybindings
|
||
|
unmap a
|
||
|
unmap <C-c>
|
||
|
map c scroll left
|
||
|
map C scroll full-left
|
||
|
map <C-c> scroll half-left
|
||
|
unmap <C-d>
|
||
|
map <C-g> abort
|
||
|
unmap h
|
||
|
unmap H
|
||
|
unmap j
|
||
|
unmap J
|
||
|
unmap <C-j>
|
||
|
unmap k
|
||
|
unmap K
|
||
|
unmap <C-k>
|
||
|
unmap l
|
||
|
unmap L
|
||
|
map <A-p> print
|
||
|
unmap r
|
||
|
unmap R
|
||
|
unmap <C-r>
|
||
|
map r scroll right
|
||
|
map R scroll full-right
|
||
|
map <C-r> scroll half-right
|
||
|
unmap s
|
||
|
map s scroll up
|
||
|
map S navigate previous
|
||
|
map <C-s> scroll half-up
|
||
|
map <A-s> scroll page-top
|
||
|
unmap t
|
||
|
unmap <C-t>
|
||
|
map t scroll down
|
||
|
map T navigate next
|
||
|
map <C-t> scroll half-down
|
||
|
map <A-t> scroll page-bottom
|
||
|
unmap <C-u>
|
||
|
map w adjust_window width
|
||
|
map W adjust_window best-fit
|
||
|
unmap y
|
||
|
unmap <C-y>
|
||
|
map <F2> rotate rotate-ccw
|
||
|
map <F3> rotate rotate-cw
|
||
|
map <F4> recolor
|
||
|
unmap <F5>
|
||
|
map <F5> reload
|
||
|
map <F6> jumplist backward
|
||
|
map <F7> jumplist forward
|
||
|
map <F9> change_mode index
|
||
|
map <F10> change_mode presentation
|
||
|
|
||
|
# Presentation mode
|
||
|
unmap presentation <F5>
|
||
|
map presentation <F10> change_mode normal
|
||
|
|
||
|
# Fullscreen mode
|
||
|
unmap fullscreen J
|
||
|
unmap fullscreen K
|
||
|
map fullscreen s navigate previous
|
||
|
map fullscreen t navigate next
|
||
|
map fullscreen <F11> change_mode normal
|
||
|
|
||
|
# Index mode
|
||
|
map index c navigate_index collapse
|
||
|
map index C navigate_index collapse-al
|
||
|
unmap index h
|
||
|
unmap index H
|
||
|
unmap index j
|
||
|
unmap index k
|
||
|
unmap index l
|
||
|
unmap index L
|
||
|
map index r navigate_index expand
|
||
|
map index R navigate_index expand-all
|
||
|
map index s navigate_index up
|
||
|
map index t navigate_index down
|
||
|
map fullscreen <F9> change_mode normal
|