On Wed, 19 Sep 2018 at 7:53am -0700, Igor Forca wrote: P.S. I know there is ed command: 1,5s/^\s\+// but this is difficult to type quickly and requires a lot of thinking. Using some normal command and repeating j. would be much simpler to think and edit. I probably would mark the paragraph in visual mode, then use :s/^ *// which I find easy to remember and quick to type. (No need for "\s\+" which is just more to type compared to " *".) You also could mark the paragraph and do a few left shifts via <..... "<" would shift the marked paragraph to the left; each dot would repeat this. Continue pressing "." until all lines have reached column 1. Maybe this helps. Best, Claus -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- What is the quickes way to delete spaces in fro... Igor Forca
- Re: What is the quickes way to delete spac... Ricardo Silva
- Re: What is the quickes way to delete spac... Tim Chase
- Re: What is the quickes way to delete ... Michael Henry
- Re: What is the quickes way to del... Tim Chase
- Re: What is the quickes way to... Michael Henry
- Re: What is the quickes way to delete spac... Claus Atzenbeck
- Re: What is the quickes way to delete ... Tim Chase
- Re: What is the quickes way to del... Igor Forca
- Re: What is the quickes way to... Eli the Bearded
- Re: What is the quickes way to del... Igor Forca
- Re: What is the quickes way to delete spac... 'Grant Taylor' via vim_use
