Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I saw a tutorial on using VIM and I was curious how the user actually added a couple plugins without opening the content of the MACVIM app, but instead by going to the folder plugin using the command "~/.VIM" As seen here:

I'm not really sure how everyone is able to do this. Thanks for the help.

share|improve this question
up vote 4 down vote accepted

~/.vim is not a command, but a hidden folder.

Open Terminal and enter

mkdir .vim

to create it, if it doesn't exist yet. To go there, switch to Finder and press Cmd-Shift-G, and enter ~/.vim.

See this question regarding displaying hidden files in Finder. Or you can just press Cmd-Shift-. in any open/save file dialog to see hidden files and folders.

I don't know if you need to configure Vim to use that folder, but it doesn't look like it.

share|improve this answer
Thanks for the quick response! I'm curious though, how is the folder linked to the plugin support for macvim? – Joon-Sub Apr 13 '11 at 6:15
@Joon-Sub, it has nothing to do with MacVim. It's the default location for all the stuff you want Vim to source at startup: plugins, syntaxes, colorschemes etc. Also it's probably not a very good idea to jump directly to installing plugins or copying verbatim someone else's .vimrc. You should instead start in the Terminal by launching Vim's tutorial vimtutor a few times until you are comfortable with it and do some exercises of your own on non-critical files. Once you get the basics you'll be able to customize your environment and soon discover that you don't need that much customizing. – romainl Apr 13 '11 at 7:11
Thanks for the tip romainl! I'll check out vimtutor. – Joon-Sub Apr 13 '11 at 13:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .