Quantcast
Channel: vim command to restructure/force text to 80 columns - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Answer by shearn89 for vim command to restructure/force text to 80 columns

$
0
0

Thanks to a comment from DonaldSmith I found this, as the textwidth option didn't reformat my long line of text (I was converting playing with hex-to-byte conversions):

:%!fold -w 60

That reformated the whole file (which was one line for me) into lines of length 60.


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>