Skip to content

op-buggy/vim-p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published