Vim Tips

From Akionux-wiki
Share/Save/Bookmark
Revision as of 14:16, 22 October 2015 by Akionux (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prevent automatic new lines

To prevent automatic new lines when current line reaches a specific length, execute[1]

:set tw=0

or

:set textwidth=0

References

  1. vimが勝手に自動改行するのを回避する方法 http://kaworu.jpn.org/kaworu/2007-07-29-1.php