kakoune: use bat, set bat theme, kwm: key for toggling theme and keymap pl

This commit is contained in:
2026-05-11 23:41:09 +02:00
parent b6f9d9c9b5
commit 9a77b3730e
6 changed files with 20 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ declare-option str selectionalpha "80"
set-face global value "rgb:%opt{mint}"
set-face global type "rgb:%opt{darkmint}"
set-face global variable "rgb:%opt{yellow}"
set-face global variable "rgb:%opt{purple}"
set-face global module "rgb:%opt{blue}"
set-face global function "rgb:%opt{yellow}"
set-face global string "rgb:%opt{brick}"

View File

@@ -9,7 +9,7 @@ add-highlighter global/ number-lines -relative
nop %sh{
mkdir -p "$kak_config/autoload"
ln -s "$kak_runtime/autoload" "$kak_config/autoload/stdlib"
[ -e "$kak_config/autoload/stdlib" ] || ln -s "$kak_runtime/autoload" "$kak_config/autoload/stdlib"
}
colorscheme %sh{
@@ -121,6 +121,8 @@ bundle-theme kakoune-themes "https://codeberg.org/anhsirk0/kakoune-themes"
bundle fzf.kak "https://github.com/andreyorst/fzf.kak" %{
map global -docstring 'FZF menu' user s ': fzf-mode<ret>'
require-module fzf
set-option global fzf_highlight_command "bat"
}
hook global BufCreate [^*].* %{