Thursday, March 29, 2012

Re: cmdwin is passing strange

On Thursday, March 29, 2012 4:09:12 AM UTC-5, howardb21 wrote:
> Toying with the command line window (cmdwin), I noticed that, if you
> are in the : command line and hit ctrl-F to enter the command window,
> you enter it in normal command mode, even though the line starts with a :
>
> That is, you can not type anything unless you hit i to enter insert text mode,
> or - strangely - if you hit another : -- well that puts you in command line
> mode, in the command window so you can go ahead and type, for instance,
> a command like set textwidth=75 or whatever.
>
> Would it not be more reasonable, to put the user in : mode, if he gets there
> from the : command line?

Maybe insert mode would be reasonable. But I like the current functionality better. My uses of command-line mode are usually:

1. start a command line
2. realize I need to do complicated edits or go back to the middle somewhere
3. open the command window and execute 2 or 3 normal-mode commands
4. run the command

If I want insert mode, I'll just stay on the command-line. If I use the command window, I usually want the power of normal mode. Occasionally I just want insert-mode completion, but that's relatively rare.

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

No comments: