mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 20:45:46 +01:00
Allow things like :com! foo\n \ echo 1\n \ echo 2
This commit is contained in:
@@ -384,8 +384,8 @@ const Mappings = Module("mappings", {
|
||||
}
|
||||
else if (args["-ex"]) {
|
||||
rhs = ["-ex", rhs];
|
||||
action = function action(count)
|
||||
dactyl.execute(commands.replaceTokens(rhs[1], { count: count }), null, true, action.sourcing);
|
||||
action = function action(count) commands.execute(rhs[1], { count: count },
|
||||
false, null, action.sourcing);
|
||||
action.sourcing = io.sourcing && update({}, io.sourcing);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user