Compare commits
3 Commits
6ae096cf90
...
498ae8a411
Author | SHA1 | Date |
---|---|---|
yosh | 498ae8a411 | |
yosh | d259a1d8b9 | |
yosh | 66d65417a6 |
|
@ -11,12 +11,11 @@ export WINEPREFIX="$XDG_DATA_HOME/wine"
|
|||
export PASSAGE_DIR="$XDG_DATA_HOME/passage/store"
|
||||
export PASSAGE_IDENTITIES_FILE="$XDG_DATA_HOME/passage/identities"
|
||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonstartup.py"
|
||||
export RXVT_SOCKET="$XDG_RUNTIME_DIR/urxvtd-$(uname -n)"
|
||||
# }}}
|
||||
|
||||
# other config {{{
|
||||
export PATH="$HOME/.local/bin:$HOME/.local/scripts:$PATH"
|
||||
export TERMINAL="foot"
|
||||
export TERMINAL="footclient"
|
||||
export FLOATING_TERMINAL="foot -a floating_term"
|
||||
export XCURSOR_THEME="Eevee-cursors"
|
||||
export VISUAL="kak"
|
||||
|
@ -25,6 +24,7 @@ export MAILPATH="$HOME/Mail"
|
|||
export MAIL="$HOME/Mail"
|
||||
export QT_QPA_PLATFORM="wayland-egl"
|
||||
export SDL_VIDEODRIVER="wayland"
|
||||
export MENU="fuzzel -d"
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
|
@ -1,38 +1,52 @@
|
|||
# kakrc
|
||||
|
||||
## commands
|
||||
# commands
|
||||
define-command -docstring "save and quit" x "write-all; quit"
|
||||
define-command -docstring "quit with exit code 1" cq "quit 1"
|
||||
|
||||
## keybinds
|
||||
# hooks
|
||||
hook global BufOpenFile .* editorconfig-load
|
||||
hook global BufNewFile .* editorconfig-load
|
||||
|
||||
# visual
|
||||
|
||||
## colorscheme
|
||||
colorscheme palenight
|
||||
|
||||
## scrolling & wrapping
|
||||
set-option global scrolloff 1,3
|
||||
add-highlighter global/ wrap -word -indent
|
||||
|
||||
## tabs
|
||||
set-option global tabstop 4
|
||||
set-option global indentwidth 0
|
||||
|
||||
## statusbar
|
||||
set-option global ui_options terminal_status_on_top=true
|
||||
|
||||
## highlights
|
||||
|
||||
### line numbers
|
||||
add-highlighter global/ number-lines -hlcursor
|
||||
|
||||
### whitespace
|
||||
add-highlighter global/ regex "\h+$" 0:Error
|
||||
add-highlighter global/ regex "^(\t+ +)|( +\t+)" 0:Error
|
||||
|
||||
# keybinds
|
||||
|
||||
## qol
|
||||
map -docstring "next buffer" global user n ":bn<ret>"
|
||||
map -docstring "previous buffer" global user <a-n> ":bp<ret>"
|
||||
map -docstring "yank the selection into the clipboard" global user y "<a-|>wl-copy<ret>"
|
||||
map -docstring "paste the clipboard" global user p "<a-!>wl-paste -n<ret>"
|
||||
|
||||
## spellcheck
|
||||
map -docstring "spellcheck buffer" global user s ":spell<ret>"
|
||||
map -docstring "clear spellcheck" global user <a-s> ":spell-clear<ret>"
|
||||
map -docstring "next wrong spelling" global normal <c-e> ":spell-next<ret>"
|
||||
map -docstring "next wrong spelling" global normal <c-r> ":spell-replace<ret>"
|
||||
|
||||
## visual
|
||||
## clipboard
|
||||
map -docstring "yank the selection into the clipboard" global user y "<a-|>wl-copy<ret>"
|
||||
map -docstring "prepend the clipboard" global user <a-p> "!wl-paste -n<ret>"
|
||||
map -docstring "append the clipboard" global user p "<a-!>wl-paste -n<ret>"
|
||||
|
||||
### colorscheme
|
||||
colorscheme palenight
|
||||
|
||||
### scrolling & wrapping
|
||||
set-option global scrolloff 1,3
|
||||
add-highlighter global/ wrap -word -indent
|
||||
|
||||
### tabs
|
||||
set-option global tabstop 4
|
||||
set-option global indentwidth 4
|
||||
|
||||
### statusbar
|
||||
set-option global ui_options ncurses_status_on_top=true
|
||||
|
||||
### line numbers
|
||||
add-highlighter global/ number-lines -hlcursor
|
||||
|
||||
### trailing whitespace
|
||||
add-highlighter global/ regex \h+$ 0:Error
|
||||
## ctags
|
||||
map -docstring "search for tag" global user c ":ctags-search<ret>"
|
||||
|
|
|
@ -9,7 +9,7 @@ screenshot-template="%tY-%tm-%td_%tH-%tM-%tS-mpvshot-%F"
|
|||
video-sync=display-resample
|
||||
volume=90
|
||||
vo=gpu
|
||||
#gpu-api=vulkan
|
||||
hwdec=auto
|
||||
|
||||
# subtitles
|
||||
sub-auto=fuzzy
|
||||
|
|
Loading…
Reference in New Issue