in vim I use
Vj..jgp
or
Vk..kgp
for selected a paragraph and format.
how I can selected and format more fast the paragraph ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As El Isra suggests in the comments, you can do
gqapinstead ofvapgqto avoid unnecessarily going to visual mode. Some other useful variants ofapincludeaw(select a word)as(select a sentence),ab(select a()block), andaB(select a{}block). There are a number of plugins that extend this functionality for HTML tags as well, so you may be interested in searching for those.Edit: Changed
Vtov.Edit 2: Changed
vgaqptogqap.