.vimrc file and Ubuntu colour scheme for OS X terminal
The .vimrc file uses Vundle for plugin management. For the PluginInstall and BundleInstall
commands to work, Vundle must be installed first.
Detailed instructions and examples can be found at https://github.com/gmarik/Vundle.vim
-
Create a symlink to the .vimrc file in the repo from the home directory.
$ ln -s dotfiles/.vimrc ~/.vimrc -
The most important thing is to install Vundle.
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim -
After that, open Vim and run
PluginInstall
Install oh-my-zsh
as the .zshrc file assumes that's what we're using.
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Edits the path variable and enables the plugins.
-
Create a symlink to the .zshrc file in the repo from the home directory.
$ ln -s dotfiles/.zshrc ~/.zshrc -
If using the powerlevel10k Zsh theme, symlink the configuration file.
$ ln -s dotfiles/.p10k.zsh ~/.p10k.zsh
Configuration file for the i3 window manager.
-
The i3 configuration file is at
~/.config/i3/config.ln -s ~/dotfiles/i3/ .config/i3
Configuration file for tmux
-
Create a symlink to the .tmux.conf file in the repo from the home directory.
$ ln -s dotfiles/.tmux.conf ~/.tmux.conf
The tmux folder contains custom tmux startup scripts for customizing the windows
and panes for various development projects.
-
Start
tmuxwith the custom file with the command:$ tmux -f cm.conf attach
If attach is excluded, we'll have TWO tmux sessions instead of just one.
Modifies the MySQL client prompt to display more information.
-
Create a symlink for the .my.cnf file in the repo from the home directory.
$ ln -s dotfiles/.my.cnf ~/.my.cnf
To enable them, on the iTerm2 menu, go to iTerm -> Preferences. Go to the Profiles tab, and click on Keys.
For the Left option key acts as: section, choose the +Esc radio button, and you’re all set.
From (http://blog.pangyanhan.com/posts/2013-12-13-vim-install-solarized-on-mac-os-x.html)