Rename exec->execute-keys for consistency

This commit is contained in:
Dmitry Matveyev 2021-06-06 14:29:51 +06:00
parent 8574c3827a
commit 2f22fef5bd

View File

@ -95,7 +95,7 @@ define-command -hidden elixir-trim-indent %{
define-command -hidden elixir-insert-on-new-line %[ define-command -hidden elixir-insert-on-new-line %[
evaluate-commands -no-hooks -draft -itersel %[ evaluate-commands -no-hooks -draft -itersel %[
# copy '#' comment prefix and following white spaces # copy '#' comment prefix and following white spaces
try %{ exec -draft k <a-x> s ^\h*\K#\h* <ret> y jgi P } try %{ execute-keys -draft k <a-x> s ^\h*\K#\h* <ret> y jgi P }
# wisely add end structure # wisely add end structure
evaluate-commands -save-regs x %[ evaluate-commands -save-regs x %[
try %{ execute-keys -draft k <a-x> s ^ \h + <ret> \" x y } catch %{ reg x '' } try %{ execute-keys -draft k <a-x> s ^ \h + <ret> \" x y } catch %{ reg x '' }