kakoune: switch to four-colors, turn on show-matching
This commit is contained in:
@@ -4,6 +4,7 @@ set-option global startup_info_version 20260412
|
||||
set-option global ui_options terminal_assistant=none
|
||||
|
||||
add-highlighter global/ number-lines -relative
|
||||
add-highlighter global/ show-matching
|
||||
|
||||
# LOCAL
|
||||
|
||||
@@ -14,9 +15,9 @@ nop %sh{
|
||||
|
||||
colorscheme %sh{
|
||||
if [ -e ~/.lightmode ]; then
|
||||
echo lp-light
|
||||
echo four-colors-light
|
||||
else
|
||||
echo lp-dark
|
||||
echo four-colors-dark
|
||||
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 'LP Dark mode' options-mode 'd' ': colorscheme lp-dark<ret>'
|
||||
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme lp-light<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 four-colors-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>'
|
||||
|
||||
@@ -135,7 +136,7 @@ hook global BufCreate [^*].* %{
|
||||
|
||||
bundle match 'https://github.com/kmafeni04/match.kak' %{
|
||||
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 i ': match-inside<ret>' -docstring 'Match inside object'
|
||||
map global match a ': match-around<ret>' -docstring 'Match around object'
|
||||
|
||||
Reference in New Issue
Block a user