diff --git a/src/excmds.ts b/src/excmds.ts index 971bf55e..439754dd 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -307,7 +307,7 @@ export function removeTridactylEditorClass(selector: string) { * * The editorcmd needs to accept a filename, stay in the foreground while it's edited, save the file and exit. By default the filename is added to the end of editorcmd, if you require control over the position of that argument, the first occurrence of %f in editorcmd is replaced with the filename. %l, if it exists, is replaced with the line number of the cursor and %c with the column number. For example: * ``` - * set editorcmd terminator -u -e "vim %f -c 'normal %lG%cl'" + * set editorcmd terminator -u -e "vim %f '+normal!%lGzv%c|'" * ``` * * You're probably better off using the default insert mode bind of `` (Ctrl-i) to access this.