helix/runtime/help/typable-commands/write-quit!.md

10 lines
247 B
Markdown
Raw Normal View History

2022-12-13 09:51:28 +08:00
`:write-quit! [path]`
Aliases: `:wq!`, `:x!`
Writes (saves) the buffer to disk, then
closes the view, discarding unsaved changes
if this would exit the editor.
Identical to `:write [path]` followed by `:quit!`.
See those commands for more info.