Vim For Mac Os X
Solarized is the most complete Terminal / Editor / IDE color project, covering almost all major operating systems (Mac OS X, Linux, Windows), editor and IDE (Vim, Emacs, Xcode, TextMate, NetBeans, Visual Studio, etc.), terminal (iTerm2, Terminal.app, Putty, etc.). Similar projects have Tomorrow Theme.
Setup Vim, Powerline and iTerm2 on Mac OS X. Vim macvim iterm powerline vundler Recently I have been looking for ways to work faster, that's why my goal is to reduce the number of applications in my work environment. The change from a GUI app like Sublime Text to Vim was a horrible experience, that's why i decide to use Powerline and reduce the.
Project Home Pagehttps://github.com/altercation/vim-colors-solarized
Solarized Palette
To Mac OS X terminal in comfortable using the command line (at least) three tools need to give color, terminal, vim, and ls.
First Download Solarized
Terminal/iTerm2
Mac OS X comes with Terminal and free iTerm2 are a very good tool, iTerm2 can be cut into multiple windows, more convenient.
If you are using Terminal, then, in the solarized/osx-terminal.app-colors-solarized double-click Solarized Dark ansi.terminal and Solarized Light ansi.terminal two color schemes will be automatically imported into the Terminal.app in Dark and Light.
If you are using iTerm2, then double-click to solarized/iterm2-colors-solarized Solarized Dark.itermcolors and Solarized Light.itermcolors two files can be imported into the configuration file iTerm Lane.
Vim
Set the Terminal and Vim color consistency
ls
OS X is based on FreeBSD, so some tools ls
, top
, etc. are BSD that, ls not the GNU ls
, so even Terminal/iTerm2 configured color, but on the Mac typing ls
command does not display highlighting can be solved by installing coreutils (brew install coreutils
), but if the color is not picky ls there a simple way is .bash_profile
in output CLICOLOR = 1
- 5.00 / 5 5
Recently I have been looking for ways to work faster, that's why my goal is to reduce the number of applications in my work environment.
The change from a GUI app like Sublime Text to Vim was a horrible experience, that's why i decide to use Powerline and reduce the impact.
This guide will show you how to get vim and powerline up and running in 6 fairly easy steps.
Vim For Mac Os X El Capitan
We are going to use Homebrew and Vundler for easy installation purpose.
1. Install dependencies Via Hombrew
Pyton:
Vim:
MacVim:
2. Install Powerline via Vundler
If you want to get more information about the Vundler plug-in manager for Vim check the github repo.
3. Setup Powerline font
One of the more stressful things about setting up powerline is to make it look the way it should. On OSX you have to use prepatched fonts. What I would suggest is to install the font you like via FontBook app that came with Mac OSX system.
you can get the prepatched fonts from powerline-fonts
4. Set .vimrc configuration for Powerline
5. Set configuration for MacVim
You'll need to edit your .vimrc and add the following code for GUI.
6. iTerm2 setup
Exit Vim Mac Os X
Finally It's important to change the non-ASCII font for a prepatched one to get powerline working.