Skip to content
forked from magodo/dotFile

.vim and .vimrc for setting up environment.

Notifications You must be signed in to change notification settings

yangdongkui/dotFile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kinds of dot files

VIM

Ubuntu 12.04 - LTS

  1. Install VIM74:
  • Remove the installed old version:

    $ sudo apt-get remove vim vim-runtime gvim
    
  • Download VIM74:

    $ hg clone https://code.google.com/p/vim/
    
  • Install prerequisite libraries:

    $ apt-get install ncurses-dev build-essential mercurial python-dev
    
  • Build Vim from sources:

    $ cd ~/vim/src
    $ make distclean
    $ # No slash behind "config" 
    $ ./configure --with-python-config-dir=/usr/lib/python2.7/config --enable-pythoninterp -disable-gui --without-x
    $ make
    $ sudo make install
    
  1. Edit .vimrc:
  • The .vimrc is stored by. Just put it in $HOME
  1. Install Vundle(Plugin Manager):
  • Set up Vundle:

    $ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
  1. Install plugins:

     $ vim ~/.vimrc
    
  • In VIM:

    :PluginInstall
    
  1. Install YCM:
  • Install development tools and CMake:

    $ sudo apt-get install build-essential cmake python-dev
    
  • Compiling YCM: Refer to YCM Official Manual

  1. Customise:

Arch - Linux version 4.8.6-1-ARCH

  • Install vim
  • Install vundle
  • Install plugins via vundle
  • Install powerline, powerline-vim, powerline-font via pacman

TMUX config

ZSH

About

.vim and .vimrc for setting up environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Vim Script 75.6%
  • Shell 24.4%