diff --git a/rc/tools/autorestore.kak b/rc/tools/autorestore.kak index d3e60994..52febe3a 100644 --- a/rc/tools/autorestore.kak +++ b/rc/tools/autorestore.kak @@ -39,7 +39,7 @@ define-command autorestore-restore-buffer \ ## Replace the content of the buffer with the content of the backup file echo -debug Restoring file: ${newer} - execute-keys -draft %{ %d!cat\"${newer}\"d } + execute-keys -draft %{%d!cat\"${newer}\"jd} ## If the backup file has to be removed, issue the command once ## the current buffer has been saved