AutoYADM commit: 2025-05-11 15:44:05
This commit is contained in:
parent
88581d7f01
commit
b52046ec71
2 changed files with 27 additions and 14 deletions
|
@ -57,22 +57,33 @@ set-face global link "%opt{red_glowing}+ui"
|
||||||
set-face global bullet "%opt{orange_glow}"
|
set-face global bullet "%opt{orange_glow}"
|
||||||
set-face global list "%opt{orange_glow}"
|
set-face global list "%opt{orange_glow}"
|
||||||
|
|
||||||
# Helix-like insert mode cursor
|
# SPECIAL CURSOR BLOCK
|
||||||
set-face global PrimaryCursorNormal "%opt{background},%opt{orange_blaze}+gfb"
|
# We implement a Helix-like cursor changing color.
|
||||||
set-face global SecondaryCursorNormal "%opt{background},%opt{orange_muted}+gf"
|
# Off by default; ashen_cursor option must be declared:
|
||||||
set-face global PrimaryCursorInsert "%opt{background},%opt{g_3}+gfb"
|
# declare-option bool ashen_cursor true
|
||||||
set-face global SecondaryCursorInsert "%opt{background},%opt{g_7}+gf"
|
try %{
|
||||||
set-face global PrimaryCursor PrimaryCursorNormal
|
# check if ashen_dynamic_cursor option is set
|
||||||
set-face global SecondaryCursor SecondaryCursorNormal
|
nop %opt{ashen_dynamic_cursor}
|
||||||
|
# Helix-like insert mode cursor
|
||||||
|
set-face global PrimaryCursorNormal "%opt{background},%opt{orange_blaze}+gfb"
|
||||||
|
set-face global SecondaryCursorNormal "%opt{background},%opt{orange_muted}+gf"
|
||||||
|
set-face global PrimaryCursorInsert "%opt{background},%opt{g_3}+gfb"
|
||||||
|
set-face global SecondaryCursorInsert "%opt{background},%opt{g_7}+gf"
|
||||||
|
set-face global PrimaryCursor PrimaryCursorNormal
|
||||||
|
set-face global SecondaryCursor SecondaryCursorNormal
|
||||||
|
|
||||||
hook global ModeChange (push|pop):.*insert %{
|
hook global ModeChange (push|pop):.*insert %{
|
||||||
set-face window PrimaryCursor PrimaryCursorInsert
|
set-face window PrimaryCursor PrimaryCursorInsert
|
||||||
set-face window SecondaryCursor SecondaryCursorInsert
|
set-face window SecondaryCursor SecondaryCursorInsert
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global ModeChange (push|pop):insert:.* %{
|
hook global ModeChange (push|pop):insert:.* %{
|
||||||
set-face window PrimaryCursor PrimaryCursorNormal
|
set-face window PrimaryCursor PrimaryCursorNormal
|
||||||
set-face window SecondaryCursor SecondaryCursorNormal
|
set-face window SecondaryCursor SecondaryCursorNormal
|
||||||
|
}
|
||||||
|
} catch %{
|
||||||
|
set-face global PrimaryCursor "%opt{background},%opt{orange_blaze}+gfb"
|
||||||
|
set-face global SecondaryCursor "%opt{background},%opt{orange_muted}+gf"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Built-in UI
|
# Built-in UI
|
||||||
|
@ -189,3 +200,4 @@ set-face global ts_string_special_url "%opt{red_glowing}+b"
|
||||||
set-face global ts_comment_block_documentation "%opt{g_5}+i"
|
set-face global ts_comment_block_documentation "%opt{g_5}+i"
|
||||||
set-face global ts_keyword_operator "%opt{orange_blaze}"
|
set-face global ts_keyword_operator "%opt{orange_blaze}"
|
||||||
set-face global ts_markup_list "%opt{orange_glow}"
|
set-face global ts_markup_list "%opt{orange_glow}"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
||||||
|
declare-option bool ashen_dynamic_cursor true
|
||||||
colorscheme ashen
|
colorscheme ashen
|
||||||
|
|
||||||
# disable clippy
|
# disable clippy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue