Contains MacOS configuration files for VIM, Atom, Xcode, and others.
I use shiki/sprout-wrap forked from pivotal-sprout/sprout-wrap to manage the packages/apps installed in my Mac machines. I usually run that before setting up these dotfiles.
- Clone this repo to a local dir (e.g.
~/.files
). Make sure to use--recursive
when cloning or rungit submodules update --init --recursive
after cloning. - Install these packages if they were not installed through sprout-wrap:
- Install the Powerline fonts.
- Symlink
dotfiles/.bash_profile
to~/.bash_profile
- Restart Terminal or iTerm2
- Symlink
dotfiles/.gitconfig
to~/.gitconfig
-
Install Sublime Text 3
$ brew cask install sublime-text
-
Install Package Control
-
Close Sublime Text
-
Replace configuration files
$ rm -rf ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User $ ln -s ~/.files/sublime-text/Packages/User.symlink ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
-
Replace
~/.atom
$ rm -rf ~/.atom $ ln -s ~/.files/atom.symlink ~/.atom
-
Install the Package Sync package.
-
Execute the
Sync
command to install the other packages. -
Restart Atom
- Symlink these files:
dotfiles/.vim
to~/.vim
dotfiles/.vimrc
to~/.vimrc
- In MacVIM, run
:PluginInstall
to install all plugins. This instructs the Vundle package to install all the other packages managed by it. - The VIM config uses DejaVu Sans Mono for Powerline. For VIM to use this font in the terminal, make sure to set this font as the default font in the Terminal or iTerm2.
- Install Alcatraz.
- Install these plugins using Alcatraz:
- Backlight
- ClangFormat
- FuzzyAutocomplete
- OMQuickHelp
- VVDocumenter-Xcode
- XCActionBar
- XcodeColors
- XVim
- For the custom XVim keybindings:
- Symlink
dotfiles/xcode/KeyBindings/XVim.idekeybindings.symlink
to~/Library/Developer/Xcode/UserData/XVim.idekeybindings
- Enable the keybinding in XCode > Preferences > Key Bindings
- Add the custom XCode color themes
- Symlink
dotfiles/xcode/FontAndColorThemes.symlink
to~/Library/Developer/Xcode/UserData/FontAndColorThemes
- Choose a theme in XCode > Preferences > Fonts & Colors
Xcode themes were taken from hdoria/xcode-themes.
- Import
dotfiles/.appcode/settings.jar