kakoune: switch to four-colors, turn on show-matching

This commit is contained in:
2026-05-16 11:04:43 +02:00
parent 7004a10dd6
commit fdb736c39e

View File

@@ -4,6 +4,7 @@ set-option global startup_info_version 20260412
set-option global ui_options terminal_assistant=none set-option global ui_options terminal_assistant=none
add-highlighter global/ number-lines -relative add-highlighter global/ number-lines -relative
add-highlighter global/ show-matching
# LOCAL # LOCAL
@@ -14,9 +15,9 @@ nop %sh{
colorscheme %sh{ colorscheme %sh{
if [ -e ~/.lightmode ]; then if [ -e ~/.lightmode ]; then
echo lp-light echo four-colors-light
else else
echo lp-dark echo four-colors-dark
fi fi
} }
@@ -37,8 +38,8 @@ map global -docstring 'Open/create in dir' file-mode 'c' ': open-create-in-dir<r
map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>' map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme lp-dark<ret>' map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme four-colors-dark<ret>'
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme lp-light<ret>' map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme four-colors-light<ret>'
map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<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 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
@@ -135,7 +136,7 @@ hook global BufCreate [^*].* %{
bundle match 'https://github.com/kmafeni04/match.kak' %{ bundle match 'https://github.com/kmafeni04/match.kak' %{
declare-user-mode match declare-user-mode match
map global user m ': enter-user-mode match<ret>' map global user m ': enter-user-mode match<ret>' -docstring 'Match'
map global match m m -docstring 'Match next matching pair' map global match m m -docstring 'Match next matching pair'
map global match i ': match-inside<ret>' -docstring 'Match inside object' map global match i ': match-inside<ret>' -docstring 'Match inside object'
map global match a ': match-around<ret>' -docstring 'Match around object' map global match a ': match-around<ret>' -docstring 'Match around object'