From 70cd97c9b0fe2d167b46c20a5688eb9d4d4fec59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Tue, 5 May 2026 23:55:16 +0200 Subject: [PATCH] kakoune: add colorscheme lp-dark, add some keys --- kakoune/.config/kak/colors/lp-dark.kak | 117 +++++++++++++++++++++++++ kakoune/.config/kak/kakrc | 5 +- 2 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 kakoune/.config/kak/colors/lp-dark.kak diff --git a/kakoune/.config/kak/colors/lp-dark.kak b/kakoune/.config/kak/colors/lp-dark.kak new file mode 100644 index 0000000..e8ff719 --- /dev/null +++ b/kakoune/.config/kak/colors/lp-dark.kak @@ -0,0 +1,117 @@ +# LP Dark + +declare-option str bg "111c22" +declare-option str bgmenu "262b40" +declare-option str fg "a1a3aa" +declare-option str orange "d78c42" +declare-option str blue "42a5d7" +declare-option str sand "f2d1a6" +declare-option str mint "96e9bf" +declare-option str brick "b25e34" +declare-option str darkmint "53acac" +declare-option str pink "cc66cc" +declare-option str pink2 "be59c0" +declare-option str purple "7461d1" +declare-option str yellow "acac53" +declare-option str yellow2 "949438" +declare-option str comment "70675c" +declare-option str red "ae4242" +declare-option str gray "8f92a3" +declare-option str green "667c50" + +declare-option str selectionalpha "80" + +## CODE + +set-face global value "rgb:%opt{mint}" +set-face global type "rgb:%opt{darkmint}" +set-face global variable "rgb:%opt{yellow}" +set-face global module "rgb:%opt{blue}" +set-face global function "rgb:%opt{yellow}" +set-face global string "rgb:%opt{brick}" +set-face global keyword "rgb:%opt{sand}" +set-face global operator "rgb:%opt{orange}" +set-face global attribute "rgb:%opt{yellow2}" +set-face global comment "rgb:%opt{comment}" +set-face global documentation "rgb:%opt{comment}" +set-face global meta "rgb:%opt{pink2}" +set-face global bultin "rgb:%opt{green}" + +## MARKUP + +set-face global title "rgb:%opt{brick}" +set-face global header "rgb:%opt{orange}" +set-face global mono "rgb:%opt{yellow2}" +set-face global block "rgb:%opt{darkmint}" +set-face global link "rgb:%opt{blue}" +set-face global bullet "rgb:%opt{orange}" +set-face global list "rgb:%opt{orange}" + +## BUILTIN + +set-face global Default "rgb:%opt{fg},rgb:%opt{bg}" +set-face global PrimarySelection "rgb:%opt{bg},rgba:%opt{mint}%opt{selectionalpha}" +set-face global SecondarySelection "rgb:%opt{bg},rgba:%opt{blue}%opt{selectionalpha}" +set-face global PrimaryCursor "rgb:%opt{bg},rgb:%opt{mint}" +set-face global SecondaryCursor "rgb:%opt{bg},rgb:%opt{blue}" +set-face global PrimaryCursorEol "rgb:%opt{bg},rgb:%opt{pink}" +set-face global SecondaryCursorEol "rgb:%opt{bg},rgb:%opt{purple}" +set-face global MenuForeground "rgb:%opt{bg},rgb:%opt{darkmint}" +set-face global MenuBackground "rgb:%opt{darkmint},rgb:%opt{bgmenu}" +set-face global MenuInfo "rgb:%opt{comment}" +set-face global Information "rgb:%opt{yellow},rgb:%opt{bgmenu}" +set-face global InlineInformation "rgb:%opt{brick}" +set-face global Error "rgb:%opt{orange}" +set-face global DiagnosticError "default,default,rgb:%opt{red}+c" +set-face global DiagnosticWarning "default,default,rgb:%opt{yellow}+c" +set-face global StatusLine "rgb:%opt{yellow2},rgb:%opt{bgmenu}" +set-face global StatusLineMode "rgb:%opt{mint}" +set-face global StatusLineInfo "rgb:%opt{brick}" +set-face global StatusLineValue "rgb:%opt{mint}" +set-face global StatusCursor "rgb:%opt{bg},rgb:%opt{mint}" +set-face global Prompt "rgb:%opt{mint}" +set-face global BufferPadding "rgb:%opt{bg},rgb:%opt{bg}" + +# Built-in highlighter faces + +set-face global LineNumbers "rgb:%opt{comment}" +set-face global LineNumberCursor "rgb:%opt{comment}" +set-face global LineNumbersWrapped "rgb:%opt{bg},rgb:%opt{bg}" +set-face global MatchingChar "rgb:%opt{sand}" +set-face global Whitespace "rgb:%opt{gray}" +set-face global WhitespaceIndent "rgb:%opt{gray}" +set-face global WrapMarker "rgb:%opt{sand}" + +# PLUGINS + +# kak-lsp + +set-face global InfoDefault "default" +set-face global InfoBlock "rgb:%opt{darkmint}" +set-face global InfoBlockQuote "rgb:%opt{orange}" +set-face global InfoBullet "rgb:%opt{orange}" +set-face global InfoHeader "rgb:%opt{orange}" +set-face global InfoLink "rgb:%opt{blue}" +set-face global InfoLinkMono "rgb:%opt{yellow2}" + +set-face global InfoMono "rgb:%opt{darkmint}" +set-face global InfoRule "rgb:%opt{orange}" +set-face global InfoDiagnosticError "rgb:%opt{red}" +set-face global InfoDiagnosticHint "rgb:%opt{blue}" +set-face global InfoDiagnosticInformation "rgb:%opt{sand}" +set-face global InfoDiagnosticWarning "rgb:%opt{yellow}" + +set-face global LineFlagError "rgb:%opt{red}" +set-face global LineFlagHint "rgb:%opt{blue}" +set-face global LineFlagInfo "rgb:%opt{sand}" +set-face global LineFlagWarning "rgb:%opt{yellow}" + +set-face global InlayDiagnosticError "rgb:%opt{red}" +set-face global InlayDiagnosticHint "rgb:%opt{blue}" +set-face global InlayDiagnosticInfo "rgb:%opt{sand}" +set-face global InlayDiagnosticWarning "rgb:%opt{yellow}" + +set-face global LineFlagError "rgb:%opt{red}" +set-face global LineFlagHint "rgb:%opt{blue}" +set-face global LineFlagInfo "rgb:%opt{sand}" +set-face global LineFlagWarning "rgb:%opt{yellow}" diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc index 3c96a03..a4686ba 100644 --- a/kakoune/.config/kak/kakrc +++ b/kakoune/.config/kak/kakrc @@ -18,12 +18,15 @@ declare-user-mode options-mode map global -docstring "File" user 'f' ': enter-user-mode file-mode' map global -docstring "Open (git)" file-mode 'a' ': file-open-git' +map global -docstring "Git diff file" file-mode 'd' ': git diff %val{buffile}' map global -docstring "Open (fd)" file-mode 'f' ': file-open' +map global -docstring "Git grep" file-mode 'g' ': git grep ' map global -docstring "Options" user 'o' ': enter-user-mode options-mode' map global -docstring "Light mode" options-mode 'l' ': colorscheme one-light' map global -docstring "Dark mode" options-mode 'd' ': colorscheme one-darker' +map global -docstring "LP Dark mode" options-mode 'D' ': colorscheme lp-dark' map global -docstring "Paste clipboard (append)" user 'p' ' xsel -bo' map global -docstring "Paste clipboard (insert)" user 'P' '! xsel -bo' @@ -82,7 +85,7 @@ bundle-theme kakoune-themes "https://codeberg.org/anhsirk0/kakoune-themes" # FZF bundle fzf.kak "https://github.com/andreyorst/fzf.kak" %{ - map global normal ': fzf-mode' + map global user s ': fzf-mode' } hook global BufCreate [^*].* %{