Author: Chuanyu Tseng (Max_Tseng) maxtcy@gmail.com
1. Description:
2. Steps:
- Unix Like Env.
- git clone http://github.com/maxtcy/dotvim.git ~/.vim
- curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
3. Install plugins in VIM:
- You can execute the scripts under ~/.vim/.
1. 'env.sh' would setup the correspondings of vim.
2. 'bash_pwl.sh' would setup the powerline within terminal prompt.
- Using symbolic link command to link `.vimrc` to `~/.vim/vimrc`
$ ln -s src dst
$ ln -s ~/.vim/vimrc ~/.vimrc
- Launch `VIM` and keyin `:PlugInstall` in terminal.
[Mac Env needs to know]
- If the platform is Mac, Must copy ~/.vim/vimrc to /usr/share/vim/
4. Airline detail
- Need to install extra font (powerline used)
mkdir .font/
cd .font/
git clone https://github.com/Lokaltog/powerline-fonts.git
cd powerline-fonts/
./install.sh
-
Install universal-ctags & global
wget http://tamacom.com/global/global-6.6.4.tar.gz
./configure --with-universal-ctags=/usr/local/bin/ctags
make -j4
sudo make install
- Searching tool
- Misc
- Need to review some customize setting path in vimrc, such as ctags, yankring
- Profiling
Plugin Launch Time
, Ref
Perl version as an example:
> perl <(curl -sSL https://raw.githubusercontent.com/hyiltiz/vim-plugins-profile/master/vim-plugins-profile.pl)
- Markdown Preview Ref_Link
- Node.js
sudo apt-get remove nodejs curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
- npm
sudo apt install npm
- instant-markdown-d
sudo npm -g install instant-markdown-d
Improve of vimrc more readable