Compare commits

..

6 commits

4 changed files with 25 additions and 3 deletions

View file

@ -3,6 +3,8 @@ add-highlighter global/ wrap -word
add-highlighter global/search dynregex '%reg{/}' 0:MatchingChar
add-highlighter global/ show-matching
set-option global ui_options terminal_assistant=off
colorscheme grayscale-superiority
#source "%val{config}/todo-txt.kak"
@ -27,7 +29,7 @@ colorscheme grayscale-superiority
# }
# hook global KakEnd .* lsp-exit
hook global WinSetOption filetype=(javascript|typescript|json|css|html) %{
hook global WinSetOption filetype=(javascript|typescript|json|css) %{
set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile }
hook buffer BufWritePre .* format-buffer
}
@ -104,10 +106,12 @@ hook global ModuleLoaded fzf-grep %{
}
map -docstring 'search files' global user f ': fzf-mode<ret>f'
map -docstring 'grep files' global user g ': fzf-mode<ret>g'
map -docstring 'search buffers' global user b ': fzf-mode<ret>b'
# ------------
# Buffer switching
# ------------
source "%val{config}/plugins/kakoune-buffers/buffers.kak"
hook global WinDisplay .* info-buffers

6
.config/senpai/highlight Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
escape() {
printf "%s" "$1" | sed 's#\#\\#g'
}
notify-send "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"

View file

@ -0,0 +1,11 @@
address soju.nulo.in:4443
nickname Nulo
username Nulo@lapsen
password-cmd pass show soju.nulo.in/Nulo
highlight nulo Nulo
on-highlight-path /home/diablo/.config/senpai/highlight
pane-widths {
nicknames 16
channels 16
members 16
}

View file

@ -14,6 +14,9 @@ export MOZ_ENABLE_WAYLAND=1
export EDITOR=kak
export FZF_DEFAULT_COMMAND='rg -L --hidden --files'
export FZF_CTRL_T_COMMAND='rg -L --hidden --files'
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export XKB_DEFAULT_LAYOUT=us #-nulo
@ -21,5 +24,3 @@ export XKB_DEFAULT_VARIANT=altgr-intl
export XKB_DEFAULT_OPTIONS=caps:escape
export XCURSOR_THEME=Adwaita
export QT_STYLE_OVERRIDE=Adwaita-Dark