linda.s wrote:
After I set textwidth=78 in the .gvimrc and .vimrc, I opened my vim
editor and the cursor ends at column 68. Everytime I need manaually
drag the editor to make it column 78. Is there a way to make the
editor the desired size (column 78)?

Linda,

Have a look at the 'columns' variable (:help 'columns). It controls the width of your window. The 'textwidth' variable controls the column at which your text will wrap for things like the "format lines" command (:help gq), and it sets the maximum width of text that will be inserted (longer lines will be broken at whitespace).

Try this in your .gvimrc:

set columns=78

Michael Henry

Reply via email to