Pages

Sunday, October 6, 2013

[OSX] MacVim

The way I see it, as a programmer, it is strongly recommended that use plain text editor to develop at the beginning; By doing so, you won't rely on the IDE too much thus you learn more fundamental and important things.

On the other hand, when the project become larger and larger, a powerful IDE is needed to help us to solve boring and trivial things such as file renaming, auto-completion, syntax highlighting, indent checking, etc.

But sometimes, I just want to write a simple script! And I don't want a  plain text editor nor complicated IDE.  So I need a powerful text editor with some fancy plugins like auto-completion, indent checking.
Today, I want to write down some notes to set up MacVim, Macintosh version of vim,


vim configuration:
~/.vimrc

MacVim configuration
~/.gvimrc

MacVim will load .vimrc first, then .gvimrc, so put general configuration in .vimrc, and set up GUI in .gvimrc.


Install MacVim via MacPort rather than official website:
sudo port install macvim + cscope + python27

No comments:

Post a Comment