This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
util:vim [2020/11/16 13:21] phil Add info about system clipboards |
util:vim [2020/11/17 11:13] phil [Ranges] |
||
---|---|---|---|
Line 117: | Line 117: | ||
===== Ranges ===== | ===== Ranges ===== | ||
^ Example ^ Effect ^ | ^ Example ^ Effect ^ | ||
- | | . | actual line | | + | | . | current line | |
- | | 2,3 | all from line 2 till inclusively line 3 | | + | | 2,3 | all from line 2 till line 3 inclusively | |
- | | ^,$ | all from beginning of file till the end | | + | | <nowiki>^,$</nowiki> | all from beginning till end of file | |
| +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 245: | Line 245: | ||
* [[http://vim.wikia.com/wiki/Accessing_the_system_clipboard|Accessing the System Clipboard]] | * [[http://vim.wikia.com/wiki/Accessing_the_system_clipboard|Accessing the System Clipboard]] | ||
* [[http://vim.wikia.com/wiki/VimTip188|Search Patterns]] | * [[http://vim.wikia.com/wiki/VimTip188|Search Patterns]] | ||
+ | * [[https://www.vim.org/scripts/script.php?script_id=1697|surround.vim script]] | ||