Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There are plenty of nice and interesting tutorials. One example is</p> <p><a href="http://blog.interlinked.org/tutorials/vim_tutorial.html" rel="nofollow noreferrer">http://blog.interlinked.org/tutorials/vim_tutorial.html</a></p> <p>But the broad structure that most of them would give you is</p> <ol> <li>There are two main modes for editing - Command mode and insert mode. You can move from insert mode to command mode using the key.</li> <li>You can execute commands in the command mode by typing a single key or a sequence of keys.</li> <li><p>Commands can help you achieve a wide variety of things deletion of lines - dd yanking (copying of lines ) - yy pasting lines below the current line - p pasting lines above the current line - P ( and so on)</p> <p>Most commands in the command mode can be pre-fixed by a "count" to indicate the number of times the command has to be executed. For example, 3dd would delete three lines.</p> <p>One set of commands in the command mode lets you move to the insert mode. That is explained below. </p></li> <li><p>There are different ways of entering the insert mode from the command mode. Prominent among them are (i-insert at cursor, I-insert at beginning of line, o-insert a line below, O-insert a line above, a-append, A-append at end of line. </p></li> </ol> <p>The quick reference at </p> <p><a href="http://www.andy-roberts.net/misc/vim/vim.pdf" rel="nofollow noreferrer">http://www.andy-roberts.net/misc/vim/vim.pdf</a></p> <p>Will help you understand the relevance of "count"</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload