Hi,
Im facing some problems, I looked around in the forum and didnt find any solutions discussed. Im sorry if these have been resolved earlier.
Is there someway I can make the VIM line break after 80 characters. I dont want the text to wrap around but create a new line. And I wish it would break off the complete last word. So instead of fo in the previous and o in the next line, can it break with foo in the next line?
When I end my comment and press enter, I get a # in the new line. This is cool but when I delete # and want to start a line of code, I dont get syntax highlighting there. It still thinks what Im typing is a comment. Is this a bug or am I doing it wrong?
One more thing is that I have set the shiftwidth to 4. But when I press Ctrl+S to save the document, the cursor jumps to the beginning of the sentence. I then need to manually go back to my original position to begin the code. Is there a way I can resolve this?
Thank you for reading this. I am new to Ruby and Vim. I hope you guys help me out.