vim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
vim [2012/04/26 12:40] – [vi cheat-sheet] k2patel | vim [2017/09/29 15:15] – [Saving file as root] k2patel | ||
---|---|---|---|
Line 183: | Line 183: | ||
</ | </ | ||
+ | ==== Quick tools ==== | ||
+ | Comment line from current line. | ||
+ | <code bash> | ||
+ | : | ||
+ | </ | ||
==== Marking ==== | ==== Marking ==== | ||
<code vim> | <code vim> | ||
Line 257: | Line 261: | ||
^ - move to the beginning of the line | ^ - move to the beginning of the line | ||
`m - move to the location of mark m | `m - move to the location of mark m | ||
- | G - move to the end of the file | + | G - move to the end of the file |
+ | gg - move to the beginning | ||
) - move forward 1 sentence | ) - move forward 1 sentence | ||
H - move to the top of the display | H - move to the top of the display |
vim.txt · Last modified: 2020/08/10 02:35 by 127.0.0.1