Cannot use CTRL-Q in vim which in a PuTTY terminal.

1,739 views
Skip to first unread message

Sylvia

unread,
Jan 21, 2010, 1:15:47 AM1/21/10
to vim_use
Hello,

I am using PuTTY to access a Linux server.
When I start vim on PuTTY terminal and try to use CTRL-Q to select a
block, nothing happens.
It doesn't the same as what I can do in a gvim on my Windows System.

Does anybody have a solutions on this?
Or maybe I should ask in PuTTY's group?

See the block editing is really helpful, I really want it on my PuTTY.
Thanks ahead!!

pansz

unread,
Jan 21, 2010, 3:08:52 AM1/21/10
to vim...@googlegroups.com
Sylvia 写道:

> Hello,
>
> I am using PuTTY to access a Linux server.
> When I start vim on PuTTY terminal and try to use CTRL-Q to select a
> block, nothing happens.

The block-select shortcut is Ctrl-V, not Ctrl-Q.

Ctrl-V should work unless you had mapped it to something else. If that
is the case, unmap Ctrl-V to let it have the default meaning.

Christian Brabandt

unread,
Jan 21, 2010, 3:12:51 AM1/21/10
to vim...@googlegroups.com
On Thu, January 21, 2010 9:08 am, pansz wrote:
> The block-select shortcut is Ctrl-V, not Ctrl-Q.
>
> Ctrl-V should work unless you had mapped it to something else. If that
> is the case, unmap Ctrl-V to let it have the default meaning.

Additionally Ctrl-Q/Ctrl-S are usually flow control codes used in
terminals and may not work every where. You might have to configure your
terminal emulator/screen/vim to make those keys work. You cannot rely
on it.

I believe putty has an option on how to handle xon/xoff.

regards,
Christian

Sylvia Liu

unread,
Jan 21, 2010, 4:06:43 AM1/21/10
to vim...@googlegroups.com
Yes, I know there is CTRL-V.
On PuTTY, CTRL-V is used to paste. That's why I want CTRL-Q.
I don't know how to configure PuTTY to pass the CTRL-Q to vim. I have tried, but not working.
Does anybody know how to make it work?

On Thu, Jan 21, 2010 at 4:08 PM, pansz <pans...@routon.com> wrote:
Sylvia:
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Sylvia Liu

unread,
Jan 21, 2010, 4:45:27 AM1/21/10
to vim...@googlegroups.com
Thanks a lot.
According to your key words "xon/xoff", I tried to configure the PuTTY, and fond a "TTY".
In TTY ctrl-q is for "START", so I remap it to ctrl-x.
Now vim working.
Thanks

Reply all
Reply to author
Forward
0 new messages