Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [command-line-window]

In Vim's command-line window you can edit the command line just like editing text in any window.

4
votes
2answers
122 views

Is there a way to disable the command line window?

Often the mechanism to end up in the command line window is a transposition typo q: instead of :q when I intend to be closing Vim. You can imagine the frustration at this point because the program ...
1
vote
0answers
57 views

Trim/clear new line character from batch script at Windows7 with gvim

I want to put timestamp using Leaderts (\ts) I am using the following script timestamp.bat(Windows 7): @echo off cls echo|set /p=%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,2%:%time:~3,2% and the ...
0
votes
2answers
95 views

How can I tell if I'm in the command window?

Extremely related to this except the answer there doesn't work I get the following error when entering command-line editing mode q: or Ctrl-F (when already in command mode) Error detected while ...
5
votes
3answers
722 views

How do I switch between the command-line history and file panes?

When using the command-line history window, I'd like to go back to the file I use it on to see what I'm working with. When revisualizing a block of code (gv), the cursor will go to the top after ...
0
votes
1answer
1k views

How to split window directly from command line? [duplicate]

I'm using Ubuntu system. I have files: A.txt, B.txt, C.txt I can split window in the following way: vim A.txt :vs B.txt // after entering into vim :vs C.txt Is there any way to achieve the same ...
4
votes
1answer
64 views

Can the command-line window be entered without interrupting macro recording?

I'm having a problem using the command-line window (help cmdwin), which is extremely useful, but it doesn't play well with macros. cmdwin is invoked with q:, so if there is a macro being recorded, ...