cyliang / configurations

This is a repository for my personal configurations for zsh, vim, and screen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurations

This is a repository for my personal configurations for zsh, vim, global gitignore, and screen. Check branch with-color_coded for semantic C-family code highlight support.

Quick Install

python2 -c "$(wget -O - 'http://cyliang.github.io/configurations/install.py')"

Included Packages

For zsh

For vim

Installation Steps

  1. Install one of Powerline patched font.
  2. Install Oh My Zsh.
  3. Install zsh theme: powerlevel9k.
  4. Install Vundle for vim.
  5. Install .zshrc, .aliases, .screenrc, .gitignore_global, and .vimrc.
  6. Install vim plugins.
  7. Install global gitignore.

Install zsh Theme

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

Install Vundle for Vim

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Install Configuration Files

wget https://raw.githubusercontent.com/cyliang/configurations/master/.zshrc -O ~/.zshrc
wget https://raw.githubusercontent.com/cyliang/configurations/master/.aliases -O ~/.aliases
wget https://raw.githubusercontent.com/cyliang/configurations/master/.vimrc -O ~/.vimrc
wget https://raw.githubusercontent.com/cyliang/configurations/master/.screenrc -O ~/.screenrc

Install Vim Plugins

Install most plugins

  1. Open vim.
  2. Type :PluginInstall and wait for the installation until done is printed.

Install YouCompleteMe

Please refer https://github.com/Valloric/YouCompleteMe#ubuntu-linux-x64.

For example:

cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
Install Extra Configuration File
wget https://raw.githubusercontent.com/JDevlieghere/dotfiles/master/.vim/.ycm_extra_conf.py -O ~/.vim/.ycm_extra_conf.py

Install Global Gitignore

git config --global core.excludesfile ~/.gitignore_global

Usage

Vim

To Update Packages

Type :PluginUpdate to automatically update packages from GitHub.

Key Mappings

  • Ctrl-c: Toggle Tagbar
  • Ctrl-n: Toggle Nerd Tree
  • Ctrl-e: Trigger YCM to show hints.
  • Ctrl-]: Goto declaration.
  • Ctrl-\: Goto definition.
  • Tab: Navigate to next buffer.
  • Shift-Tab: Navigate to previous buffer.

About

This is a repository for my personal configurations for zsh, vim, and screen.


Languages

Language:Vim Script 93.6%Language:Shell 6.4%