26.10.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

118 Start-Up<br />

Insert Mode to Command Mode<br />

Press Esc to exit the insert mode. vi cannot be terminated in insert mode, so it is<br />

important to get used to pressing Esc .<br />

Command Mode to Extended Mode<br />

The extended mode <strong>of</strong> vi can be activated by entering a colon (:). The extended or<br />

ex mode is similar to an independent line-oriented editor that can be used for various<br />

simple and more complex tasks.<br />

Extended Mode to Command Mode<br />

After executing a command in extended mode, the editor automatically returns to<br />

command mode. If you decide not to execute any command in extended mode,<br />

delete the colon with

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!