From 9c2099d5850a6a434f7269913d316d57da1362e2 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 4 Jun 2018 02:06:32 +0200 Subject: Ex mode: use getexline() instead of getexmodeline() This changes Ex mode (Q, -e) to work like Vim's "improved Ex mode" (gQ, -E). That brings some small behavior differences, but should not impact most Ex scripts (unless, for example, they depend on mappings being disabled--but that can be solved for -e by skipping user config). Before this change: * the screen test hangs. After this change: * Q acts like gQ. * -e/-es differs from -E/-Es only in its treatment of stdin. This moves towards potentially removing getexmodeline(). (HINT: That does NOT mean "removing Ex mode", it means removing the Vi-compatible Ex mode, which differs from Vim's "improved Ex mode" only in some minor details (e.g. mappings are disabled).) ref #1089 :-)~ --- man/nvim.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/nvim.1') diff --git a/man/nvim.1 b/man/nvim.1 index 28b699a07b..0040af2865 100644 --- a/man/nvim.1 +++ b/man/nvim.1 @@ -78,7 +78,7 @@ Ex mode. Reads stdin as Ex commands. See .Ic ":help Ex-mode" . .It Fl E -Ex mode, improved. Reads stdin as text. +Ex mode. Reads stdin as text. See .Ic :help gQ . .It Fl es -- cgit