Saluton TheLonelyStar :)

On Thu 4 Jun 2009 10:30 +0200, TheLonelyStar <[email protected]> dixit:
> When in vim, in insert mode, pressing Ctrl-X goes into a special mode from
> which I can exit using any keystroke.

You enter "completion mode" (":help ins-completion"). You should see
"^X mode (<a lot of keys here>)" in the bottom of your screen. For
exiting that mode you have to press any invalid key in that context. Any
character should work, because completion commands are all preceded by
"Ctrl". See the help for details, but as you have discovered, it is not
a "mode", but a command, so you can keep on typing.

> But not if I pressed Ctrl-S aftwerwards. When I press Ctrl-X Ctrl-S,
> my vim is stuck and I have no Idea how to get out of that mode ...

In that case you are not entering another mode, but you are requesting
"stop flow control" to the terminal. This is not a Vim thing, it's a
terminal thing. To resume flow control use "Ctrl-Q".

I don't know if you are using console or GUI Vim, and I don't know what
terminal or emulator do you use, or what platform are you using Vim on,
so the above may be wrong... I was assuming console Vim on UNIX terminal
or terminal emulator, although some terminal emulators no longer use
flow control.

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to