vimv
vimv copied to clipboard
Any way to rename files with a running number?
Is there a way to rename files like that? Holiday-01.jpeg Holiday-02.jpeg ...
try :0put =range(1,100) -or check out this link- https://vim.fandom.com/wiki/Making_a_list_of_numbers
:let i=1 | g/abc/s//='xyz_'.i/ | let i=i+1 seams to work ... not easy to remeber but works fine
g ctrl-a? https://vimhelp.org/change.txt.html#CTRL-A