Hi,

I have implemented an autosave feature for MacVim so that the window
dimensions (rows&columns) are restored when opening new windows.  This
feature works much like the autosave for window position:

1. When a new window opens and there are no other windows, its
"autosave" flag is set
2. When the "autosave window" is resized the dimensions (rows&columns)
of that window are stored
3. Any new window that opens will use the autosaved values for
rows&columns by default
4. If the user changes 'lines' or 'columns' in [g]vimrc these values
take precedence
5. Command line also takes precedence over autosave (e.g. "mvim -c
"set lines=55" works as expected)

I think this is a great feature for newcomers, but it has at least one
drawback (that I can think of):  if you only set 'lines' in your
[g]vimrc then the autosaved value for 'columns' will still be used.

This affects me for instance, since I only set 'lines' in my gvimrc
and use the default 80 columns.  One can argue that this is a minor
issue since if I start MacVim from a Terminal window with !=80 columns
then I run into the same problem.  It is of course easily overcome by
adding "set co=80" to my gvimrc, but the question is not whether I can
overcome this -- it is whether the majority of MacVim users are ready
to.

So I am asking everybody reading on this list:

Is this feature worth adding to MacVim (to simplify things for
newcomers), or will it be too annoying to longtime users of Vim?


Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to