helix/runtime/help/typable-commands/write-quit!.md
2022-12-12 20:27:33 -06:00

247 B

: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.