Answer the question
In order to leave comments, you need to log in
How to collapse a long string in vim?
Hello,
I just started using vim as an IDE for pyhton and other languages. I took the settings from https://github.com/Relrin/dotfiles/blob/master/vim... And I've been trying for a long time to figure out how to make settings in .vimrc so that long lines are folded when the file is displayed. Honestly, I'm just for..sya already. Help! It seems :set wrap
to help in vim itself, but when added to .vimrc, nothing comes out.
Answer the question
In order to leave comments, you need to log in
autocmd FileType ruby,python,javascript,c,cpp set nowrap
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question