PDA

View Full Version : VIM



punk000
02-18-2003, 11:15 PM
can anyone tell me how to save with vim? i know how to insert text, and how to leave insert text more (esc) but not how to permanently save the changes that i make to a file, can anyone help me with this....

i know its basic question, but everywhere i look jsut tells me to hit zz, which i havent been able to get working.

peares
02-19-2003, 07:09 AM
To save current file in vim. In command mode (press ESC first) then :wq or ZZ (that's 2 cap Z's)

tmichaels
10-31-2003, 04:18 PM
I am brand new to Knoppix.

When I go into knoppix and start vim or vi or gvim,
I can't seem to use ex commands (pressing "colon").

For example, when I type a few lines in insert mode, hit escape,
then press :q to quit, the "q" shows up in the middle of the bottom
of the screen and has no effect.

Has anyone else had this problem?

Thanks in advance,
Terry Michaels

tmichaels
10-31-2003, 05:25 PM
I found this solution:

At boot, I typed:
knoppix keyboard=us xkeyboard=us

and this did the trick.

Anybody know how I can make this a permanent
configuration?

T. Michaels