In my vimrc I have set the .txt file's linewidth property as 72 (vim enteres newline / breaks to a new line every 72 chars) (the above may be incorrect in an exact technical sense) it is cool to have this feature while editing test files, navigation being made easy between lines. But such a text file look "ugly" when posted onto blogger. There might be multiple ways to solve this problem, but the following is how I tackle the problem. Once I finish typing up (in vim) input.txt
fmt -w 1000 input.txt > formatted_output.txt
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment