-
|
I'm experimenting with keymaps for cargo commands, but I'm a bit stuck at NOTE: I've made up a workaround: select the crate name (text), yank it to system-clipboard and use that text in shell for keymaps: [keys.normal."space".l]
c = ":sh cargo check"
t = ":sh cargo test"
r = ":sh cargo run"
# FIXME: how could wait_for_input be done?
# a = [":sh cargo add ", "wait_for_input"]
# workaround:
a = ["yank_to_clipboard", ":sh cargo add (wl-paste)"]
d = ["yank_to_clipboard", ":sh cargo rm (wl-paste)"] |
Beta Was this translation helpful? Give feedback.
Answered by
jarjk
Mar 16, 2026
Replies: 1 comment
-
|
fixed for some time now, leaving this here: [keys.normal.' '.l]
a = "@:sh cargo add " |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jarjk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed for some time now, leaving this here: