On 5/7/07, Michael Henry <[EMAIL PROTECTED]> wrote:
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
I set columns=78 but when I opened vim editor, I found the editor's
column size to be 70. Why?