helix: Echo copied custom text
This commit is contained in:
parent
4ff877aa2d
commit
05a52ce5a6
1 changed files with 6 additions and 6 deletions
|
|
@ -109,14 +109,14 @@ tabpad = "‒"
|
||||||
"d" = ":yank-diagnostic"
|
"d" = ":yank-diagnostic"
|
||||||
|
|
||||||
[keys.normal.space.Y]
|
[keys.normal.space.Y]
|
||||||
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
|
"p" = [":set-register + %sh{echo '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
|
"d" = [":set-register + %sh{dirname '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"
|
"b" = [":set-register + %sh{basename '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
|
|
||||||
[keys.select.space.Y]
|
[keys.select.space.Y]
|
||||||
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
|
"p" = [":set-register + %sh{echo '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
|
"d" = [":set-register + %sh{dirname '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"
|
"b" = [":set-register + %sh{basename '%{buffer_name}'}", ":echo %reg{+}"]
|
||||||
|
|
||||||
[keys.normal.space]
|
[keys.normal.space]
|
||||||
"*" = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"]
|
"*" = [":set-register / %sh{coil fuzzy %{selection}}", "global_search"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue