AutoYADM commit: 2025-05-26 01:13:35
This commit is contained in:
parent
fbb0d4e3b4
commit
8b77acf426
3 changed files with 7 additions and 1 deletions
|
@ -61,6 +61,7 @@ define-command -hidden surround-replace-sub -params 1 %{
|
||||||
}
|
}
|
||||||
surround-delete-key %arg{1}
|
surround-delete-key %arg{1}
|
||||||
execute-keys H'
|
execute-keys H'
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
printf '%s' 'info -title surround "Canceled"'
|
printf '%s' 'info -title surround "Canceled"'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
provide-module ui-mode %~
|
||||||
declare-user-mode ui
|
declare-user-mode ui
|
||||||
map -docstring "UI" global user u ": enter-user-mode ui<ret>"
|
map -docstring "UI" global user u ": enter-user-mode ui<ret>"
|
||||||
|
|
||||||
|
@ -60,6 +61,7 @@ define-command ui-scrolloff-toggle -docstring "toggle scrolloff" %{
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "set-option window scrolloff $final"
|
echo "set-option window scrolloff $final"
|
||||||
|
notify-send "$final"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,3 +85,4 @@ define-command autowrap-toggle -docstring "toggle autowrap" %{
|
||||||
}
|
}
|
||||||
|
|
||||||
map -docstring 'toggle autowrap' global ui a ": autowrap-toggle<ret>"
|
map -docstring 'toggle autowrap' global ui a ": autowrap-toggle<ret>"
|
||||||
|
~
|
||||||
|
|
|
@ -5,6 +5,8 @@ require-module fishr
|
||||||
require-module surround
|
require-module surround
|
||||||
require-module ficgrep
|
require-module ficgrep
|
||||||
require-module byline
|
require-module byline
|
||||||
|
set-option global scrolloff 3,3
|
||||||
|
require-module ui-mode
|
||||||
|
|
||||||
require-module luar
|
require-module luar
|
||||||
set-option global luar_interpreter luajit
|
set-option global luar_interpreter luajit
|
||||||
|
@ -25,7 +27,7 @@ hook global ModuleLoaded wayland %{
|
||||||
set-option global tabstop 4
|
set-option global tabstop 4
|
||||||
set-option global indentwidth 4
|
set-option global indentwidth 4
|
||||||
|
|
||||||
set-option global scrolloff 3,3
|
# set-option global base_scrolloff 3,3
|
||||||
|
|
||||||
define-command -override tree-sitter-user-after-highlighter %{
|
define-command -override tree-sitter-user-after-highlighter %{
|
||||||
add-highlighter -override buffer/show-matching show-matching
|
add-highlighter -override buffer/show-matching show-matching
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue