You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to assign multiple commands to a key shortcut?
Example I want to custom paste command: paste and deselect all. That is, I want to merge the two commands below:
I try:
{ keys = [ "p", "p" ], command = "paste_files", "select --all=true --deselect=true" }, but I get error message:
Failed to parse keymap config: expected an equals, found a right brace at line 78 column 87
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to assign multiple commands to a key shortcut?
Example I want to custom paste command: paste and deselect all. That is, I want to merge the two commands below:
{ keys = [ "p", "p" ], command = "paste_files" },
{ keys = [ "x" ], command = "select --all=true --deselect=true" },
I try:
{ keys = [ "p", "p" ], command = "paste_files", "select --all=true --deselect=true" }, but I get error message:
Failed to parse keymap config: expected an equals, found a right brace at line 78 column 87
Beta Was this translation helpful? Give feedback.
All reactions