On 09/28/2011 01:19 PM, Dwayne Henderson wrote:
Hello!

Whenever I install gVim on a new machine, I'm frustrated by the way
its configuration is scattered throughout different files and folders,
seeing there's a lot of default annoyances I need to disable, plus
some stuff I need to add myself.

In "C:\Program Files (x86)\Vim", there's _vimrc. In "C:\Program Files
(x86)\Vim\vim73" there's gvimrc_example.vim and vimrc_example.vim, not
to mention all the other obscurely named .vim files in the same
folder. Can't it all just be in the same file?

Never modify the runtime files provided by Vim itself; you'll also run into problems when upgrading Vim to a newer version. Instead, use a personal .vimrc file (for Windows, that would be C:\Program Files (x86)\Vim\_vimrc, but I would recommend setting a HOME variable and putting the .vimrc file there; other Unix-centric / multi-platform applications benefit from a HOME directory, too). See ":help vimrc" for details.

If you work on many different systems, you can use synchronization tools like Unison, Microsoft's Sync Toy, or revision control systems like Git or Mercurial, or a cloud-based sync service like Dropbox. Cp. http://vim.wikia.com/wiki/Synchronize_configuration_to_many_computers

Finally, most of the power of Vim comes from its flexibility and configurability. Writing mappings, researching plugins and learning how to configure them is the price you have to pay. If you prefer "install and use instantly", maybe another editor will suit you better :-)

-- regards, ingo

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui