kakoune: add colorscheme lp-dark, add some keys

This commit is contained in:
2026-05-05 23:55:16 +02:00
parent 0a551a210b
commit 70cd97c9b0
2 changed files with 121 additions and 1 deletions

View File

@@ -18,12 +18,15 @@ declare-user-mode options-mode
map global -docstring "File" user 'f' ': enter-user-mode file-mode<ret>'
map global -docstring "Open (git)" file-mode 'a' ': file-open-git<ret>'
map global -docstring "Git diff file" file-mode 'd' ': git diff %val{buffile}<ret>'
map global -docstring "Open (fd)" file-mode 'f' ': file-open<ret>'
map global -docstring "Git grep" file-mode 'g' ': git grep '
map global -docstring "Options" user 'o' ': enter-user-mode options-mode<ret>'
map global -docstring "Light mode" options-mode 'l' ': colorscheme one-light<ret>'
map global -docstring "Dark mode" options-mode 'd' ': colorscheme one-darker<ret>'
map global -docstring "LP Dark mode" options-mode 'D' ': colorscheme lp-dark<ret>'
map global -docstring "Paste clipboard (append)" user 'p' '<a-!> xsel -bo<ret>'
map global -docstring "Paste clipboard (insert)" user 'P' '! xsel -bo<ret>'
@@ -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 <c-p> ': fzf-mode<ret>'
map global user s ': fzf-mode<ret>'
}
hook global BufCreate [^*].* %{