indentation - How can I wrap text to some length in Vim? -


itemprop = "text">

We talk about relative measures.

  aaaaaaaaaaaa bbbbbbbbbbbbb ccccccccccccc etc  

I want to be it short:

  aaaaa aaaaa looks like my vim BBBBB BBBBB CCCCCCCC  

How can I get it? And how can I manage to determine the length of such blocks?

You can actually do two things: / P>

  1. VIM format ( I.e. alteration) let your lines do linear lines by inserting line lines
  2. Leave the lines aside, but wrap them

What do you want?

Option 1 will be achieved by setting the textwidth (for example : textwidth = 30 (from reply to Swarop)). After this, you can reformat it by typing it in your view (in visual mode) and gq . Option 2 can be toggled by running : set wrap or : set iPod .

Both are free.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -