aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-02-17 15:34:15 -0500
committerMichael Reed <m.reed@mykolab.com>2015-03-12 20:04:26 -0400
commit481ebc0bb11a46af080446d3b5f2a6bb45235c43 (patch)
treef1708a25b2748450eeeb17007792fb235f8e4ac0 /src/nvim/buffer.c
parent5fcd12f8b54afbf5675f164ca1ecf774adc3dad2 (diff)
downloadrneovim-481ebc0bb11a46af080446d3b5f2a6bb45235c43.tar.gz
rneovim-481ebc0bb11a46af080446d3b5f2a6bb45235c43.tar.bz2
rneovim-481ebc0bb11a46af080446d3b5f2a6bb45235c43.zip
Interface cleanup: Symlink handling & docs
This removes the ability to start nvim via the following aliases in favor of just using their command line arguments: ex vim -e exim vim -E view vim -R gvim vim -g gex vim -eg gview vim -Rg rvim vim -Z rview vim -RZ rgvim vim -gZ rgview vim -RgZ This also removes Vi mode (-v) for consistency. From ':help -v': -v Start Ex in Vi mode. Only makes a difference when the executable is called "ex" or "gvim". For gvim the GUI is not started if possible.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index c4abcd77b1..c0b688e6ef 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -213,7 +213,7 @@ open_buffer (
* So the modelines have priority over auto commands.
*/
/* When reading stdin, the buffer contents always needs writing, so set
- * the changed flag. Unless in readonly mode: "ls | gview -".
+ * the changed flag. Unless in readonly mode: "ls | nvim -R -".
* When interrupted and 'cpoptions' contains 'i' set changed flag. */
if ((got_int && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
|| modified_was_set /* ":set modified" used in autocmd */