Re: unexpected value from mode(1) command

M <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <CAFsTB+LM4b8pGtSsNu292J-o-zZCD4+KCzN5_CN++YncPqXKUA@mail.gmail.com>
вс, 26 мая 2024 г., 19:25 Mike <[email protected]>:

> Hello.
>
> If, in normal mode, I type a colon followed by the command "echo
> mode(1)", the value "n" is displayed in the command-line area indicating
> normal mode.  I would have expected something beginning with "c" which
> would be consistent with what ":help cmdline-mode" states.
>
> Could someone explain why the observed behavior should have been expected?
>
> Thanks in advance for the education!
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/v2vnpp%24i0q%241%40ciao.gmane.io
> .
>

Vim stays in Command-line mode as long as user _is editing_ the command
line. After enter key has been pressed Vim gets back into the Normal mode,
as explained at `:help mode-switching` topic.

Kind regards,

>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAFsTB%2BLM4b8pGtSsNu292J-o-zZCD4%2BKCzN5_CN%2B%2BYncPqXKUA%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.