fa4999d222afa562c43d41f739907361c46c7f0e
coding/vim.md
... | ... | @@ -81,7 +81,13 @@ set nospell |
81 | 81 | :buffer <num> |
82 | 82 | ``` |
83 | 83 | |
84 | +## incrementing numbers |
|
85 | +post on [reddit][] |
|
86 | + |
|
87 | +select several lines containing '0' and type `g<C-a>` |
|
88 | + |
|
84 | 89 | [using_spellcheck]: https://www.linux.com/learn/using-spell-checking-vim |
85 | 90 | [faq]: http://vim.wikia.com/wiki/Vim_buffer_FAQ |
86 | 91 | [vanilla vim]: https://stackoverflow.com/questions/16082991/vim-switching-between-files-rapidly-using-vanilla-vim-no-plugins |
87 | 92 | [buffers over tabs]: https://stackoverflow.com/questions/26708822/why-do-vim-experts-prefer-buffers-over-tabs |
93 | +[reddit]: https://www.reddit.com/r/vim/comments/a1lvb1/til_gca_for_creating_a_column_of_incrementing/ |