jeromejj / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

vim and gvim create carriage returns after inserting 70 (or more) spaces and a character other than space #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open vim, go into insert mode. 
2.insert 70 spaces 
3.type a character 
4.insert another space
5.vim will insert a carriage return to the next line 
(sometimes you'll have to insert 80 spaces before this issue occurs.

What is the expected output? What do you see instead?
I expect vim to not jump lines unless I insert a carriage return (enter key). 
Vim jumps to the next line.

What version of the product are you using? On what operating system?
VIM 7.4 32bit. I'm using microsoft windows 7 64bit.

Please provide any additional information below.
The exact number of spaces is not consistant but around 70 to 80 spaces will 
create the issue. 

Original issue reported on code.google.com by kg4...@gmail.com on 3 Jul 2014 at 2:07

GoogleCodeExporter commented 9 years ago
This is not an issue. This is an intentional feature. Turn it off by setting 
the 'textwidth' option to zero.

Actually, the default value for 'textwidth' is already zero for most filetypes. 
So at some point, you turned on this feature yourself. Or, you are editing one 
of the few filetypes where 'textwidth' is set by the filetype plugins.

Original comment by fritzoph...@gmail.com on 3 Jul 2014 at 2:46

GoogleCodeExporter commented 9 years ago
Ah, you are corerct. In the past I've created files in vim without extentions 
and not I've gotten lazy and started using windows explorer to create .txt 
files then I'll edit them in vim and save them as the appropriate file type. 
This issue can be closed.

Original comment by kg4...@gmail.com on 3 Jul 2014 at 2:59

GoogleCodeExporter commented 9 years ago
closing as invalid

Original comment by chrisbr...@googlemail.com on 2 Oct 2014 at 7:46