Changes

Jump to: navigation, search

Package:Vim/Cheatsheet

1,028 bytes added, 5 years ago
Added Switch to insert mode
== Deplacements------------==
{{TableStart|striped=true}}
<td></td>
<td>Go to the previous cursor position</td>
</tr>
{{TableEnd}}
 
== Switch to insert mode ==
 
{{TableStart|striped=true}}
<tr>
<th>command</th>
<th>meaning</th>
<th>description</th>
</tr>
<tr>
<td>i</td>
<td>insert</td>
<td>insert before the cursor</td>
</tr>
<tr>
<td>I</td>
<td>Insert</td>
<td>insert at the beginning of the line (= <code>^i</code>)</td>
</tr>
<tr>
<td>a</td>
<td>append</td>
<td>insert after the cursor/td>
</tr>
<tr>
<td>A</td>
<td>Append</td>
<td>insert at the end of the line (= <code>$a</code>)</td>
</tr>
<tr>
<td>o</td>
<td></td>
<td>insert on a new blank line after the current line</td>
</tr>
<tr>
<td>O</td>
<td></td>
<td>insert on a new blank line before the current line</td>
</tr>
<tr>
<td>s</td>
<td>substitute</td>
<td>remove the current character and instert instead (= <code>xi</code>)</td>
</tr>
<tr>
<td>S</td>
<td>Substitute</td>
<td>remove the current line and insert instead (= <code>ddi</code></td>
</tr>
<tr>
<td>R</td>
<td>Replace</td>
<td>insert and override on the fly</td>
</tr>
{{TableEnd}}
wiki-staff
336
edits

Navigation menu