commit fa4999d222afa562c43d41f739907361c46c7f0e
parent c19772258e9c1ded8fa4ca80c2475010310ecce7
Author: pyratebeard <root@pyratebeard.net>
Date: Sat, 1 Dec 2018 15:37:08 +0000
incrementing numbers
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/coding/vim.md b/coding/vim.md
@@ -81,7 +81,13 @@ set nospell
:buffer <num>
```
+## incrementing numbers
+post on [reddit][]
+
+select several lines containing '0' and type `g<C-a>`
+
[using_spellcheck]: https://www.linux.com/learn/using-spell-checking-vim
[faq]: http://vim.wikia.com/wiki/Vim_buffer_FAQ
[vanilla vim]: https://stackoverflow.com/questions/16082991/vim-switching-between-files-rapidly-using-vanilla-vim-no-plugins
[buffers over tabs]: https://stackoverflow.com/questions/26708822/why-do-vim-experts-prefer-buffers-over-tabs
+[reddit]: https://www.reddit.com/r/vim/comments/a1lvb1/til_gca_for_creating_a_column_of_incrementing/