install plugin for vim editor


Guide

vim-pathogen

mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

vim ~/.vimrc

execute pathogen#infect()
syntax on
filetype plugin indent on

how to auto install vim plugin
download plugin to ~/.vim/bundle, and auto reload by vim-pathogen

cd ~/.vim/bundle
git clone https://github.com/ervandew/supertab.git
git clone https://github.com/plasticboy/vim-markdown.git

pydiction

cd ~/.vim/bundle
git clone https://github.com/rkulla/pydiction.git

vim ~/.vimrc

filetype plugin on
let g:pydiction_location = '~/.vim/bundle/pydiction/complete-dict'
let g:pydiction_menu_height = 3

Reference

History

  • 20190312: created.

Author: kezunlin
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source kezunlin !
评论
  TOC