diff --git a/scripts/shell-integration/integration.elv b/scripts/shell-integration/integration.elv new file mode 100644 index 0000000..2994a1a --- /dev/null +++ b/scripts/shell-integration/integration.elv @@ -0,0 +1,7 @@ +fn _loki_elvish { + var line = (edit:current-command) + var new-line = (loki -e $line) + edit:replace-input $new-line +} + +edit:insert:binding[Alt-e] = $_loki_elvish \ No newline at end of file