|
UserDefaults
How to edit MacVim settings.
As of snapshot 20 MacVim has a preferences panel where all the relevant user defaults can be changed. The information below is somewhat outdated. Check :h macvim-prefs in MacVim for more up-to-date information. Some of the behaviour of MacVim can be changed by editing its user defaults database. Here is a quick summary of what you can change and how to do so. To see what settings are currently in the database, start Terminal and type localhost:~ user$ defaults read org.vim.MacVim To change a setting, type localhost:~ user$ defaults write org.vim.MacVim <setting> <value> where <setting> is the name of the setting and <value> the value you want to set it to. For instance, to have new files open in the current window instead of in a new window, type localhost:~ user$ defaults write org.vim.MacVim MMOpenFilesInTabs 1 and restart MacVim. Finally, to remove all settings, type localhost:~ user$ defaults delete org.vim.MacVim Here is a list of current user defaults; this list may well be out of date, check MacVim.m for the current list of defaults.
|
Sign in to add a comment
does anyone plan to make a preference pain for this?
As much as possible, user settings will be available from Vim via the :set command. I exposed the above user defaults because I have not had the time to think about which ones make sense to add as settings in Vim yet. Eventually, there probably will be a very minimal preferences pane, but not until I figure out what actually needs to go in there.
Is there a way to change the default height (in lines) of a macvim window?
Please post questions to the vim_mac mailing list. (As for you question: "set lines=33" in your .gvimrc will do the trick.)
MMZoomBoth might fit here
Is there a way for me to move the tab bar to the bottom instead of the top?
Also, I've been using iTerm.app for a couple of years now and I enjoy being able to drag a tab off and have it open in a new window instead of being attached to the original tabbed window. And then, similar to iTerm or Safari, be able to drag that new window over to the tabbed bar and have it move it in with the other documents as a new tab?
Please, please, please...stop asking questions here...post your questions to vim_mac after searching the archives (you'll find that your question has been asked before).