AutoYADM commit: 2025-05-22 00:39:39
This commit is contained in:
parent
a7a29b4794
commit
346f4663c2
3 changed files with 20 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
evaluate-commands %sh{ hop-kak --init }
|
evaluate-commands %sh{ hop-kak --init }
|
||||||
|
|
||||||
declare-option str hop_kak_keyset 'tnserigmaodhc,x.plfuwyqz'
|
declare-option str hop_kak_keyset 'tnserigmaodhcxplfuwyqz'
|
||||||
|
|
||||||
# select visible buffer
|
# select visible buffer
|
||||||
map global normal <a-%> ':execute-keys gtGbx<ret>'
|
map global normal <a-%> ':execute-keys gtGbx<ret>'
|
||||||
|
@ -11,13 +11,18 @@ define-command hop-kak %{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# TODO: fix the broken interaction with scrolloff
|
# TODO: fix the broken interaction with scrolloff
|
||||||
define-command -override hop-kak-words %{
|
define-command -override hop-kak-words %{
|
||||||
eval "ui-scrolloff-disable"
|
eval "ui-scrolloff-disable"
|
||||||
try %{ ui-wrap-disable }
|
try %{ ui-wrap-disable }
|
||||||
# set-option window scrolloff 0,0
|
map window normal <esc> ': trigger-user-hook donehop<ret><esc>'
|
||||||
execute-keys 'gtGbxs\w+<ret>: hop-kak<ret>'
|
map window normal , ': trigger-user-hook donehop<ret>,'
|
||||||
info done
|
hook -once window User donehop %{
|
||||||
# set-option window scrolloff 99,0
|
eval "ui-scrolloff-enable"
|
||||||
# eval "ui-scrolloff-enable"
|
try %{ ui-wrap-enable }
|
||||||
|
unmap window normal <esc>
|
||||||
|
unmap window normal ,
|
||||||
|
}
|
||||||
|
execute-keys 'gtGbxs\w+<ret>: hop-kak<ret>'
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ bundle peneira https://github.com/gustavo-hms/peneira %{
|
||||||
# require-module peneira
|
# require-module peneira
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle easymotion.kak https://git.sr.ht/~voroskoi/easymotion.kak %{
|
bundle-noload easymotion.kak https://git.sr.ht/~voroskoi/easymotion.kak %{
|
||||||
require-module easymotion
|
require-module easymotion
|
||||||
unmap global easymotion h
|
unmap global easymotion h
|
||||||
unmap global easymotion j
|
unmap global easymotion j
|
||||||
|
|
|
@ -25,6 +25,15 @@ declare-option -docstring %{
|
||||||
|
|
||||||
Default: '%s %s'
|
Default: '%s %s'
|
||||||
} str bar_inactive_fmt '%s %s'
|
} str bar_inactive_fmt '%s %s'
|
||||||
|
declare-option -docstring %{
|
||||||
|
Format string passed to printf for the bufferlist.
|
||||||
|
It should be set in the global scope.
|
||||||
|
|
||||||
|
It receives two string arguments, where the first is the buffer index,
|
||||||
|
and the second is the buffer name.
|
||||||
|
|
||||||
|
Default: '%s %s+'
|
||||||
|
} str bar_inactive_modified_fmt '%s %s+'
|
||||||
define-command -hidden bar-buflist %{
|
define-command -hidden bar-buflist %{
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
# starttime=$(date +%s.%N)
|
# starttime=$(date +%s.%N)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue