VI text editor in command line
Ok, how do I save a file using the VI editor at command line level?
I tried ctrl + s, but the file froze, and I had to hit ctrl + alt + F1 to enter a new session and send the halt signal :mad: |
<esc>
:wq Try man vi before you run it again ;) Cheers, Tink |
Heh, thanks.
I hit esc then type :wq ehy? Ok.... hope I can get back into my graphical desktop now! |
<esc> to get from any special mode
(like editing :D) into command mode, so you can enter :(start a command) w(write) q(quit) ... what always gets me is that VI-users say emacs is crytpic ;) just because it uses DIFFERENT funny keystrokes ;) Cheers, Tink |
Ctrl-s is a scroll lock key sequence. Ctrl-q will unlock. . .
Unless something tells the OS to pass that ^s, it will always be a scroll lock, and the same for ^q. |
All times are GMT -5. The time now is 03:21 AM. |