AutoYADM commit: 2025-04-24 17:45:06

This commit is contained in:
Daniel Fichtinger 2025-04-24 17:45:06 -04:00
parent b4caa3e2b5
commit 18ee9e7644

View file

@ -95,14 +95,15 @@ C-k = "signature_help"
C-c = "completion"
S-tab = "move_parent_node_start"
# sticky mode!
[keys.normal.Z]
m = "scroll_up"
e = "scroll_up"
n = "scroll_down"
j = "search_next"
J = "search_prev"
[keys.normal]
tab = "trim_selections"
A-tab = "move_parent_node_end"
S-tab = "move_parent_node_start"
# swap select_mode and regex keys
v = "select_regex"
V = "split_selection"
@ -217,6 +218,8 @@ m = '@ks*'
t = '@:insert-output cat <C-r>% | markdown-toc --bullets - --no-firsth1 -<ret>'
[keys.normal.space]
t = "move_parent_node_end"
T = "move_parent_node_start"
# yazi integration
space = [
':sh rm -f /tmp/yazi-path',
@ -269,10 +272,30 @@ I = "extend_to_line_end_newline"
l = "extend_to_file_end"
L = "extend_to_last_line"
[keys.select.space]
t = "extend_parent_node_end"
T = "extend_parent_node_start"
# yazi integration
space = [
':sh rm -f /tmp/yazi-path',
':insert-output footclient -d error yazi %{buffer_name} --chooser-file=/tmp/yazi-path',
':open %sh{cat /tmp/yazi-path}',
':redraw',
':set mouse false',
':set mouse true',
]
# insert markdown toc :)
p = '''
:append-output clipcat-menu --finder custom --custom-finder-program-path fuzzel --custom-finder-arguments=--dmenu,--placeholder=Clipboard --config <(printf "[log]\nemit_stdout = true\n") | grep -q 'Nothing is selected' && exit 1 || wl-paste'''
P = '''
:insert-output clipcat-menu --finder custom --custom-finder-program-path fuzzel --custom-finder-arguments=--dmenu,--placeholder=Clipboard --config <(printf "[log]\nemit_stdout = true\n") | grep -q 'Nothing is selected' && exit 1 || wl-paste'''
x = ":bc"
[keys.select]
tab = "trim_selections"
A-tab = "extend_parent_node_end"
S-tab = "extend_parent_node_start"
"{" = "rotate_selections_backward"
"}" = "rotate_selections_forward"
"A-{" = "rotate_selection_contents_backward"