Vim Tips

From Akionux-wiki
Share/Save/Bookmark
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