[vim/vim] Document of CTRL-Z seems not correct. (Issue #18975)

12 views
Skip to first unread message

Mao-Yining

unread,
Dec 19, 2025, 8:17:00 PM (17 hours ago) Dec 19
to vim/vim, Subscribed
mao-yining created an issue (vim/vim#18975)

At :h CTRL-Z, it said In Visual mode Vim goes back to Normal mode.:

CTRL-Z			Suspend Vim, like ":stop".
			Works in Normal and in Visual mode.  In Insert and
			Command-line mode, the CTRL-Z is inserted as a normal
			character.  In Visual mode Vim goes back to Normal
			mode.
			Note: if CTRL-Z undoes a change see |mswin.vim|.

But, on my MS-Windows's GUI and TUI, in Visual mode , I press and it work same as Normal mode.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975@github.com>

charan

unread,
Dec 19, 2025, 9:24:04 PM (16 hours ago) Dec 19
to vim/vim, Subscribed
chrnz008 left a comment (vim/vim#18975)

@mao-yining it states that ctrl-z acts same for both visual and normal mode


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677238499@github.com>

Mao-Yining

unread,
Dec 19, 2025, 9:59:39 PM (15 hours ago) Dec 19
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#18975)

CTRL-Z Suspend Vim, like ":stop".
Works in Normal and in Visual mode.

@mao-yining it states that ctrl-z acts same for both visual and normal mode so it is expected behaviour

I mean. 'goes back to' in doc means act different.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677303238@github.com>

Mao-Yining

unread,
Dec 19, 2025, 10:06:34 PM (15 hours ago) Dec 19
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#18975)

Current behaviour:
https://asciinema.org/a/8zzuOq4MF43dPSvpAr8EY5ZCs


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677308532@github.com>

zeertzjq

unread,
Dec 19, 2025, 10:27:52 PM (15 hours ago) Dec 19
to vim/vim, Subscribed
zeertzjq left a comment (vim/vim#18975)

After you type exit you can see that Vim has gone back to Normal mode. Or if you have a VimSuspend autocommand you can see that Vim has gone back to Normal mode just before suspending.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677323533@github.com>

Mao-Yining

unread,
Dec 19, 2025, 10:36:43 PM (15 hours ago) Dec 19
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#18975)

After you type exit you can see that Vim has gone back to Normal mode. Or if you have a VimSuspend autocommand you can see that Vim has gone back to Normal mode just before suspending.

So I think it's better to say "In Visual mode Vim goes back to Normal mode just before suspending".

Thanks for your kind explanation.

@chrisbra Could you please modify the phrasing in the original document? Thank you.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677329638@github.com>

Christian Brabandt

unread,
11:51 AM (1 hour ago) 11:51 AM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18975)

will do, thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18975/3677953298@github.com>

Christian Brabandt

unread,
11:56 AM (1 hour ago) 11:56 AM
to vim/vim, Subscribed

Closed #18975 as completed via 64799a5.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/18975/issue_event/21685649081@github.com>

Reply all
Reply to author
Forward
0 new messages