util: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 | ||
util:vim [2015/11/11 17:41] – [Links] phil | util:vim [2020/11/17 11:13] – [Ranges] phil | ||
---|---|---|---|
Line 44: | Line 44: | ||
===== Helpful Settings ===== | ===== Helpful Settings ===== | ||
- | ^ Variable ^ Abbrev ^ Type ^ Meaning | + | ^ Variable ^ Abbrev ^ Type ^ Effect |
| filetype | ft | String | defines the filetype, used for syntax highlighting | | | filetype | ft | String | defines the filetype, used for syntax highlighting | | ||
| modeline | ? | Boolean | activates the interpretation of '' | | modeline | ? | Boolean | activates the interpretation of '' | ||
Line 57: | Line 57: | ||
===== Commands To Know By Heart ===== | ===== Commands To Know By Heart ===== | ||
- | ^ Command ^ Meaning | + | ^ Command ^ Effect |
| < | | < | ||
| ZZ | like '': | | ZZ | like '': | ||
+ | ^ copy' | ||
| yy | copy actual line to clipboard | | | yy | copy actual line to clipboard | | ||
- | | p | paste clipboard | + | | p | paste **after** the cursor | |
- | | P | paste clipboard | + | | P | paste **before** the cursor |
+ | | "*p | Paste from " | ||
+ | | "+p | Paste from " | ||
^ Changing Modes^| | ^ Changing Modes^| | ||
| I | insert at beginning of line | | | I | insert at beginning of line | | ||
Line 113: | Line 116: | ||
===== Ranges ===== | ===== Ranges ===== | ||
- | ^ Example ^ Meaning | + | ^ Example ^ Effect |
- | | . | actual | + | | . | current |
- | | 2,3 | all from line 2 till inclusively | + | | 2,3 | all from line 2 till line 3 inclusively |
- | | ^,$ | all from beginning | + | | < |
| +2,+3 | all from two lines after cursor till three lines after cursor | | | +2,+3 | all from two lines after cursor till three lines after cursor | | ||
Line 242: | Line 245: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ |
util/vim.txt · Last modified: 2021/07/14 18:50 by phil