op-buggy / vim-p

start using vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-p

start using vim

usage

  • install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  • clone repo
git clone git@github.com:kevinchanyuanhui/vim-p.git
  • apply setting
ln -s ~/dev/my/vim-p/.vimrc ~/.vimrc
  • install plugin
vim
:PlugInstall
  • install vim-prettier
cd  ~/.vim/plugged/vim-prettier
npm i
  • YCM install ts support
brew install cmake
cd ~/.vim/plugged/youcompleteme
python3 install.py --ts-completer --tern-completer
  • ctags
brew install ctags-exuberant
# jsctags
~/.vim/plugged/jsctags
npm i
npm link
ln -s ~/dev/my/vim-p/.tern-config ~/.tern-config

keymap

  • F5 : toggle nerdtree

  • F6 : toggle tagbar

  • Ctrl + p : search

  • , + p : prettier

  • Ctrl + ] : jump ctags

  • :Tabularize /= : tab

  • cs"' : vim-surround

  • Ctrl + w + w : switch window

extra info

About

start using vim


Languages

Language:Vim Script 100.0%