Skip to content

Instantly share code, notes, and snippets.

@YumaInaura
Last active April 17, 2025 14:53
Show Gist options
  • Save YumaInaura/8deb53846b8a9edf243b5589c5dda938 to your computer and use it in GitHub Desktop.
Save YumaInaura/8deb53846b8a9edf243b5589c5dda938 to your computer and use it in GitHub Desktop.
Vim — What is the name of "q and colon" mode? ( A. command-line window )

Vim — What is the name of "q and colon" mode? ( A. command line window )

Or named "command window".

I mean "q and colon" ( q: ).

Not "colon and q" means quit vim ( :q ).

image

How hard to google this keyword.

  • Google "Vim q and colon" (No results)
  • Google "Vim q before colon" (No results)
  • Google "Vim colon after q" (No results)
  • Google "Vim command line q colon" (No results)

In Vim window "Command line" word is displayed.

Finally I found result with "Vim command line q" keyword on Googling.

Document

OPEN						*c_CTRL-F* *q:* *q/* *q?*

There are two ways to open the command-line window:
6. Command-line window				*cmdline-window* *cmdwin*

							*command-line-window*
In the command-line window the command line can be edited just like editing
text in any window.  It is a special kind of window, because you cannot leave
it in a normal way.
{not available when compiled without the |+cmdline_hist| or |+vertsplit|
feature}

Vim documentation: cmdline

Ref

Vim command window

...

q: — Open with a command history from normal mode
q/ — Open with a search history from normal mode (to search forward)
q? — Open with a search history from normal mode (to search backward)
Ctrl+F — Open with a command history from command mode

Vim command window | Arabesque

TODO

My creazy little things called dream is write abount a article named …

"Completely Summarizing : How hard to Googling keywords about Vim"

Links

@AhrazA
Copy link

AhrazA commented Oct 20, 2020

Haha. I went through the same problem. Thank you for your gist :)

@pkoziol
Copy link

pkoziol commented Nov 23, 2021

Second result for Googling "vim q colon". Thanks!

@pythoninja
Copy link

Now it's first with "vim q colon" :-)

@yammesicka
Copy link

vim q: in Google. Thanks :)

@tcstory
Copy link

tcstory commented Sep 3, 2022

thx

@onavhamid
Copy link

Thank you!

@vuhuulan
Copy link

Thank you, I was able to find this gist with "vim q colon".

@rafgugi
Copy link

rafgugi commented Apr 5, 2023

super helpful. have no idea since the past year 😅

@kassadin
Copy link

kassadin commented May 5, 2023

From now on, this will be a gathering place for q:

@Constantin1489
Copy link

Thank you!

@joshua9900sudo
Copy link

ㅋㅋㅋㅋ thank you!

@ChenW12
Copy link

ChenW12 commented Aug 21, 2023

Very helpful! Thank you!

@drecdroid
Copy link

I'll add these keyword just so Google catches it later:
vim q colon
q colon
q:
neovim q colon
nvim q colon
q colon command history

@b4shful
Copy link

b4shful commented May 23, 2024

Thanks for this!
Position #3 in Google searches for vim q: and vim "q:"!
May this gist forever have good SEO.

Keyword time let's go!
vim q colon
q colon
q:
neovim q colon
nvim q colon
q colon command history
q: vim
q: neovim
q: nvim
vim q:
vim "q:"
neovim q:
neovim "q:"

@TheS1lentArr0w
Copy link

Love this tysm, bumping this to keep good SEO going

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment