New answers tagged


I don't think it could be simplified more without using mappings or writing specialized commands and/or functions: " setup search pattern :let @/ = '\V' . trim(getline(89)) " or you can input it interactively after the first :g/... " with the help of :h c_ctrl-r_= " get replacement text :73,74y " put (paste) with indent adjust :g//normal! ]p " delete old ...

Top 50 recent answers are included