Compare commits
6 commits
887415e48a
...
fd4ba05318
Author | SHA1 | Date | |
---|---|---|---|
fd4ba05318 | |||
4b3ba86ece | |||
9fb2564774 | |||
7f73d5a5d8 | |||
222ea43186 | |||
26371c226b |
4 changed files with 25 additions and 3 deletions
|
@ -3,6 +3,8 @@ add-highlighter global/ wrap -word
|
||||||
add-highlighter global/search dynregex '%reg{/}' 0:MatchingChar
|
add-highlighter global/search dynregex '%reg{/}' 0:MatchingChar
|
||||||
add-highlighter global/ show-matching
|
add-highlighter global/ show-matching
|
||||||
|
|
||||||
|
set-option global ui_options terminal_assistant=off
|
||||||
|
|
||||||
colorscheme grayscale-superiority
|
colorscheme grayscale-superiority
|
||||||
|
|
||||||
#source "%val{config}/todo-txt.kak"
|
#source "%val{config}/todo-txt.kak"
|
||||||
|
@ -27,7 +29,7 @@ colorscheme grayscale-superiority
|
||||||
# }
|
# }
|
||||||
# hook global KakEnd .* lsp-exit
|
# 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 }
|
set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile }
|
||||||
hook buffer BufWritePre .* format-buffer
|
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 'search files' global user f ': fzf-mode<ret>f'
|
||||||
map -docstring 'grep files' global user g ': fzf-mode<ret>g'
|
map -docstring 'grep files' global user g ': fzf-mode<ret>g'
|
||||||
|
map -docstring 'search buffers' global user b ': fzf-mode<ret>b'
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# Buffer switching
|
# Buffer switching
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
source "%val{config}/plugins/kakoune-buffers/buffers.kak"
|
source "%val{config}/plugins/kakoune-buffers/buffers.kak"
|
||||||
|
|
||||||
hook global WinDisplay .* info-buffers
|
hook global WinDisplay .* info-buffers
|
||||||
|
|
6
.config/senpai/highlight
Executable file
6
.config/senpai/highlight
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
escape() {
|
||||||
|
printf "%s" "$1" | sed 's#\#\\#g'
|
||||||
|
}
|
||||||
|
notify-send "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"
|
11
.config/senpai/senpai.scfg
Normal file
11
.config/senpai/senpai.scfg
Normal 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
|
||||||
|
}
|
5
.profile
5
.profile
|
@ -14,6 +14,9 @@ export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
export EDITOR=kak
|
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 QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
|
|
||||||
export XKB_DEFAULT_LAYOUT=us #-nulo
|
export XKB_DEFAULT_LAYOUT=us #-nulo
|
||||||
|
@ -21,5 +24,3 @@ export XKB_DEFAULT_VARIANT=altgr-intl
|
||||||
export XKB_DEFAULT_OPTIONS=caps:escape
|
export XKB_DEFAULT_OPTIONS=caps:escape
|
||||||
|
|
||||||
export XCURSOR_THEME=Adwaita
|
export XCURSOR_THEME=Adwaita
|
||||||
|
|
||||||
export QT_STYLE_OVERRIDE=Adwaita-Dark
|
|
||||||
|
|
Loading…
Reference in a new issue