注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Vim/Cheatsheet"
Jump to navigation
Jump to search
m (Reviewed display) |
(Added some deplacements) |
||
Line 57: | Line 57: | ||
<td>Fetch</td> | <td>Fetch</td> | ||
<td>move to the previous occurrence of the character <char></td> | <td>move to the previous occurrence of the character <char></td> | ||
</tr> | |||
<tr> | |||
<td>$</td> | |||
<td></td> | |||
<td>move to the end of the line</td> | |||
</tr> | |||
<tr> | |||
<td>^</td> | |||
<td></td> | |||
<td>move to the first non-whitespace character of the line</td> | |||
</tr> | |||
<tr> | |||
<td>zz</td> | |||
<td></td> | |||
<td>center the viewport on the currently</td> | |||
</tr> | |||
<tr> | |||
<td><num>gg</td> | |||
<td>goto</td> | |||
<td>move to line number <num> (default is 1 if <num> is omitted)</td> | |||
</tr> | |||
<tr> | |||
<td>G</td> | |||
<td></td> | |||
<td>move to the last line</td> | |||
</tr> | |||
<tr> | |||
<td>C-o</td> | |||
<td></td> | |||
<td>Go to the previous cursor position</td> | |||
</tr> | </tr> | ||
{{TableEnd}} | {{TableEnd}} |
Revision as of 12:43, April 5, 2015
Deplacements
command | meaning | description |
---|---|---|
w | word | move to next word |
W | Word | move to the next word (broad sens) |
b | begin | move to the previous word beginning |
B | Begin | move to the previous word beginning (broad sense) |
e | end | move to the next word end |
E | End | move to the next word end (broad sense) |
{ | move to the previous blank line | |
} | move to the next blank line | |
f<char> | fetch | move to the next occurrence of the character <char> |
F<char> | Fetch | move to the previous occurrence of the character <char> |
$ | move to the end of the line | |
^ | move to the first non-whitespace character of the line | |
zz | center the viewport on the currently | |
<num>gg | goto | move to line number <num> (default is 1 if <num> is omitted) |
G | move to the last line | |
C-o | Go to the previous cursor position |