4 ms·
Can anyone explain that one liner at the end? :set tw=10000 | norm gggQG
by nthitz 14y ago
Can anyone explain that one liner at the end?
:set tw=10000 | norm gggQG
- ktsmith 14y agoI'm probably forgetting something but it should just be setting the terminal window to 10000 characters. So basically for the entire document word wrap won't happen automatically until a line reaches 10000 characters long.
- zalew 14y agoincreasing the default 90 characters linebreak to 10k and reformatting the content.
- Kluny 14y agoIt changes his 80-column block of text to justified, I think. He mentioned needing to look that up.
- gsb 14y agoI think he has a typo at the end which should be gggqG where gg means motion to top of file, gq means reformat over a motion and G means motion to end of file.