Last active
January 28, 2018 20:46
-
-
Save voyeg3r/191f3af088d0e314aeae1c0ecc396aac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getreg -> usado para pegar o valor de um registro | |
setreg -> usado para setar um registro | |
let @0 = substitute(@0,'\d\+','\=submatch(0) + 1','g') -> usado para incrementar os números do clipboard | |
normal yip ...... copia o bloco em modo normal | |
exec "normal }O\<Esc>p" -> cola o trecho incrementado abaixo do paragrafo atual |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment