vim: add SuperRetab command
parent
5ed04a948b
commit
3051db3c72
|
@ -464,6 +464,9 @@ com -nargs=+ -complete=file -bar Gr silent! grep! "<Args>" | cwindow
|
|||
" Write (sudo)
|
||||
com W execute 'w !sudo tee > /dev/null %' | edit!
|
||||
|
||||
" Retab
|
||||
com -nargs=1 -range SuperRetab <line1>,<line2>s/\v%(^ *)@<= {<args>}/\t/g
|
||||
|
||||
" Autocommands ---------------------------------------------------------------|
|
||||
|
||||
augroup AGW
|
||||
|
|
Loading…
Reference in New Issue