Why can't I stop vim from wrapping my code?

前端 未结 9 1888
陌清茗
陌清茗 2020-12-12 12:05

I can\'t stop vim from wrapping my Python code. If I enter :set nowrap like a champ, but it still wraps.

I can hit J to unite the split lines

9条回答
  •  庸人自扰
    2020-12-12 13:04

    To disable line wrap, you can enter :set wrap! or append this command to your ~/.vimrc.

提交回复
热议问题