aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-10 03:27:25 +0200
committerGitHub <noreply@github.com>2019-04-10 03:27:25 +0200
commitddd0eb6f5120a09b97867d2561ea61309038ccd2 (patch)
tree78ba762f7f99840c318f128a73ee6f0e5477968f /runtime/doc/vim_diff.txt
parent9daa7d9978ac0249b61e823808cabbcbc997d5c7 (diff)
downloadrneovim-ddd0eb6f5120a09b97867d2561ea61309038ccd2.tar.gz
rneovim-ddd0eb6f5120a09b97867d2561ea61309038ccd2.tar.bz2
rneovim-ddd0eb6f5120a09b97867d2561ea61309038ccd2.zip
startup: -es/-Es (silent/batch mode): skip swapfile #8540
To use Nvim as a scripting engine the side-effects of swapfiles and user config should be avoided by default.
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 1833c2cde3..b7974aa735 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -346,7 +346,10 @@ Shell:
Startup:
|-e| and |-es| invoke the same "improved Ex mode" as -E and -Es.
- |-E| and |-Es| reads stdin as text (into buffer 1).
+ |-E| and |-Es| read stdin as text (into buffer 1).
+ |-es| and |-Es| have improved behavior:
+ - Quits automatically, don't need "-c qa!".
+ - Skips swap-file dialog.
|-s| reads Normal commands from stdin if the script name is "-".
Reading text (instead of commands) from stdin |--|:
- works by default: "-" file is optional