I'm not expert in vim at all but I like it a lot.
In my personal computer I've loaded the example_vimrc in my
.vimrc and added some extra lines so when I type a bullet point and keep typing till 80 characters, vim automatically wraps my line an continues below like this
* This is an example line, just guess that the line break is at 80 characters and when I keep typing vim do this great thing of indenting my lines like this.
In my job computer, I have the SAME .vimrc file but I managed to note that the condition '
if has ("autocmd")' is not true and I don't know what happens (because I'm newbie) but when I type the kind of text like above I get the following
* This is an example of a line representing what happens in my job * I'm not really pressing ENTER, and obviously I'm not typing a * bullet like '*' with each new line because this is the same note * but vim automatically adds a new '*' with each line wrap
How can I get rid of this behavior?? I already read a related post and tried to use the option 'set comments=' but I get the following behavior
* This is a line after setting 'set comments=' which removes the '*' I think, but after line wrapping the indentation doesn't work and the text keeps appearing like this, although if I manually add blank spaces like in THIS LINE and I keep typing then when vim wraps the line, automatically aligns the text like this, I hope it can give you a clue of what is happening.
Thanks in advance for your help!, remember my .vimrc is the example_vimrc