On 26-08-2014 13:17, Bruce Dubbs wrote: > I'd like to add a little bit to the discussion we had about line > lengths. To a certain extent, longer lines are unavoidable, but many > can be reduced. > > One technique I use in vim is the capability to reformat a paragraph. If > the text to be reformatted is delimited with blank lines, you only have > to have the cursor on one of the lines of the subject paragraph and in > normal mode type gqap. (lowercase G Q A P). That command often saves > me a lot of time. > > I also can also repeat the command after moving the cursor with a . > (dot) so reformatting multiple paragraphs can be done quite rapidly. > > -- Bruce
Good to know, I always used enter, then needed some time to get it together, and aenter again... Thank you very much! -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
