diff options
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r-- | runtime/doc/starting.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index e89d72bce3..ad1077bcab 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -185,11 +185,12 @@ argument. delete(), rename(), mkdir(), writefile(), libcall(), jobstart(), etc. - *-e* --e Start Vim in Ex mode |Q|. +-e *-e* *-E* +-E Start Nvim in Ex mode |gQ|. - *-E* --E Start Vim in improved Ex mode |gQ|. + If stdin is not a TTY: + -e reads stdin as Ex commands. + -E reads stdin as text (into buffer 1). *-es* *-Es* -es *-s-ex* *silent-mode* @@ -207,6 +208,11 @@ argument. < User |init.vim| is skipped (unless given with |-u|). |$TERM| is not used. + + If stdin is not a TTY: + -es reads stdin as Ex commands. + -Es reads stdin as text (into buffer 1). + Example: > printf "put ='foo'\n%%print\n" | nvim -es < |