FMacVim
MacVim + essential plugins + my custom (and awesome) .vimrc
Install / Use
/learn @fbeeper/FMacVimREADME
fMacVim
MacVim + essential plugins + my custom .vimrc
Introduction
I don't see this as another collection of dotfiles, but a practical selection of the best plugins and configs for those willing to enjoy the power of Vim on their Mac. I was inspired by YADR and spf13-vim, or other famous alternatives like Janus, but I did not wanted to have such a big package, I wanted to keep it even simpler.
If you don't like the idea of the complete package, I strongly encourage you to scrabble and take anything you may like in here! But I expect you to (at least) say hi if you like it :P This includes GNU/Linux users, because most of the code in here must work as well for you (I'm using it actually :P).
<br /> Installation ------------I provide you with two options (the easy or the easiest):
1) Easy install
Clone this repositoty and execute the installation script:
git clone git://github.com/fbeeper/fMacVim.git
cd fMacVim
./install.sh
Besides the opportunity of re-customization, this installation includes terminal support for the customized Vim, including the Solarized theme.
Note that you will find an uninstaller too ;)
./uninstall.sh
2) The easiest install
I took MacVim, included all plugins and configs in the package for you to drag and drop it into your /Applications directory:
<br /> Details -------fMacVim includes:
- The best .vimrc I've been able to curate (no blogger/githubber was harmed on this process :P). Even though I didn't kept it minimal, I've made an effort to organize and comment everything. You should take a look at it!
-
Pathogen.vim (super easy plugin management) by Tim Pope
-
Solarized (pleasant colorscheme) by Ethan Schoonover
-
Powerline (cool statusline replacement) by Kim Silkebækken
-
Menlo patched for powerline (nice font with support for Powerline coolness) by Steve Losh
-
NERDTree (useful file system explorer) by Martin Grenfell
-
NERDCommenter (comment your code easily ,cl ,cu) by Martin Grenfell
-
Signature (easy marks and signs) by kshenoy
-
Clang complete (C/C++ completion using clang) by Xavier Deguillard
-
Supertab (handy addition for text completion) by Eric Van Dewoestine
-
SnipMate (snippets galore!) originally by Michael Sanders but current package by Rok Garbas
-
Fugitive.vim (nice git integration) by Tim Pope
-
Gitv ('gitk clone' plugin for fugitive) by Greg Sexton
-
Gundo (Missing Lion's file versioning at Vim? :P) by Steve Losh
-
OpenGL and GLSL syntax hl (the missing highlighting) by Marc Costa
Quick access to useful commands:
F1Toggle Gundo, navigate and use the history tree of your editionsF2Toggle NERDTree, navigate your FS right from VimF3Toggle PASTE mode, paste without breaking indentationF4Toggle Gitv, explore git history right from VimF5/F6Change theme mode Dark/LightF7Toggle invisiblesF8Run makeF9Activate auto-closing bracketsF10De-activate auto-closing brackets
Safari-like tab switching
Ctrl+Tab/Ctrl+Shift+TabCircle back and forthCmd+1-9Go to specific tabs
Search
#and*To search back and forth (working for visual selections too!),EnterTo remove search highlighting
Other bindings
,is mapped as Vim's<leader>(just in case you look for it),cl/cuComment/uncomment lines thanks to NERDCommenterzf/dCreate/Delete folds (configured to work manually and will be preserved between sessions)SpaceWill toggle folds in normal mode,nToggle line numbering mode in normal mode- And a huge list of things Vim could do
This is nowhere near to be perfect, so I expect to bring future updates.
- An updater would be really necessary!
- I should build .vimrc and .gvimrc separately, I know!
- I should consider splitting the .vimrc to make it easier to navigate/maintain.
- I will consider creating a custom Toolbar/Menu.
- A better documentation would be interesting, wouldn't it?
- I've got some shortcuts/functions I haven't added to this release I might add in the future. Or not... because it would mean not keeping this simple.
- I'm thinking to remove OpenGL highlighting from this package, it may be too specific for my needs.
- I really want to make this package compatible for Linux too, with gtk-vim instead of MacVim :)
I'd be pleased to hear any comments, ideas, code, questions, or whatever you may want to say!
You'll easily find me at: github.com/fbeeper, or @fbeeper.
<br /> License -------JIC anybody asks, the Vim licence seems a good fit for any of the "work" I've done packing this ;) For any other concerns about licensing, take a look at:
:help license

