Merge pull request #1414 from glacambre/fix_editor_doc

Fix editor documentation
This commit is contained in:
Oliver Blanthorn 2019-03-25 13:30:19 +00:00 committed by GitHub
commit 1f12c31615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,7 +252,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: * 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:
* ``` * ```
* set editorcmd 'terminator -u -e "vim %f"' * set editorcmd terminator -u -e "vim %f"
* ``` * ```
* *
* You're probably better off using the default insert mode bind of `<C-i>` (Ctrl-i) to access this. * You're probably better off using the default insert mode bind of `<C-i>` (Ctrl-i) to access this.