AutoYADM commit: 2025-05-11 14:57:41
This commit is contained in:
parent
8863194bdb
commit
3348e3a1ff
3 changed files with 17 additions and 17 deletions
|
@ -40,7 +40,7 @@ define-command -override tree-sitter-user-after-highlighter %{
|
|||
# add-highlighter -override window/bracket regex [\[\]\(\)\{\}]{1} 0:red
|
||||
# }
|
||||
# add-highlighter global/bracket regex [\[\]\(\)\{\}]{1} 0:red
|
||||
# add-highlighter global/bracket regex [\[\]\(\)\{\}]{1} 0:rgb:737373
|
||||
add-highlighter global/bracket regex [\[\]\(\)\{\}]{1} 0:rgb:737373
|
||||
add-highlighter global/ number-lines -hlcursor -relative -separator " "
|
||||
add-highlighter global/ show-whitespaces -lf "" -tab "" -only-trailing
|
||||
add-highlighter global/ show-matching
|
||||
|
@ -104,21 +104,6 @@ map -docstring "goto next buffer" global user i ": bn<ret>"
|
|||
|
||||
map global normal <tab> _
|
||||
map -docstring "commenct line" global normal <c-v> ":comment-line<ret>"
|
||||
define-command open_yazi %{
|
||||
evaluate-commands %sh{
|
||||
rm -f /tmp/yazi-path &>/dev/null
|
||||
footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path &>/dev/null
|
||||
P="$(cat /tmp/yazi-path)"
|
||||
if [ -z "$P" ]; then
|
||||
echo "echo no path"
|
||||
else
|
||||
echo "echo path: $P"
|
||||
fi
|
||||
|
||||
}
|
||||
}
|
||||
map -docstring "open file in yazi" global user <space> ": open_yazi<ret>"
|
||||
|
||||
declare-user-mode git
|
||||
map -docstring "git" global user g ": enter-user-mode git<ret>"
|
||||
map -docstring "lazygit" global git g ": terminal lazygit<ret>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue