Compare commits

...

3 Commits

Author SHA1 Message Date
yosh 498ae8a411 bash_profile: remove utxvt thing, add menu 2024-03-07 22:23:44 -05:00
yosh d259a1d8b9 mpv: same thing with vulkan whatever 2024-03-07 22:23:12 -05:00
yosh 66d65417a6 kakoune: sync with desktop 2024-03-07 22:22:51 -05:00
3 changed files with 43 additions and 29 deletions

View File

@ -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"
# }}}

View File

@ -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>"

View File

@ -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