On Sat, 17 Mar 2012, Chris Jones wrote:
On Mon, Mar 12, 2012 at 12:28:58AM EDT, Gary Johnson wrote:
[..]
See
:help -E
[...] So I issued the above ‘:help -E’ command, which did not tell me
much, and proceeded to drill down to ‘*gQ’.. and I found this:
gQ Switch to "Ex" mode like with "Q", but really behave
like typing ":" commands after another. All command
line editing, completion etc. is available.
Use the ":vi" command |:visual| to exit "Ex" mode.
{not in Vi}
What does ‘really behave like typing ":" commands after another’
exactly mean..? another what? Did the writer mean ‘typing ":" commands
one after the other’ ??
Yes. Equivalently, ‘really behave like typing ":" commands one after
another’. ("one after the other" = "one after another").
What did he have in mind when he wrote ‘*really* behave..?
‘really’.. as opposed to what..? Virtually..?
As opposed to the situation when 'Q' is issued.
From :help Q:
"""
Switch to "Ex" mode. This is a bit like typing ":" one after another,
except:
{...}
"""
So, instead of the 'Q' command, which is "a bit like X", 'gQ' is "really
like X" (where X is "typing ':' commands one after another").
(Just clarifying the wording of the docs -- I don't have much to add
re: "extended Ex mode")
--
Best,
Ben
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php