Skip to content

JunCEEE/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My vim configuration

Version: 1.0.1

Dependencies

gtags_cscope and ctags

Ubuntu/Debian

sudo apt-get install global ctags

python

pip install jedi yapf pynvim ropevim

or

conda install jedi yapf pynvim ropevim

A new environment

conda create -n NEW_ENV vim jedi yapf pynvim

Installation

Clone

cd ~ && git clone [email protected]:JunCEEE/dotvim.git
test -d .vim || mv dotvim .vim
cd ~/.vim
git submodule init
git submodule update

Add submodules

cd ~/.vim/bundle
git submodule add GITHUB_LINK

Update submodules

Update one submodule

cd ~/.vim/bundle/SUBMODULE
git pull origin master
cd ..
git add -u
git commit -m "update..."

Update all submodules

cd ~/.vim/bundle
git submodule foreach git pull origin master
git submodule update

Remove submodules

  1. mv a/submodule a/submodule_tmp

  2. git submodule deinit -f -- a/submodule

  3. rm -rf .git/modules/a/submodule

  4. git rm -f a/submodule

Note: a/submodule (no trailing slash)

or, if you want to leave it in your working tree and have done step 0.

  1. git rm --cached a/submodule mv a/submodule_tmp a/submodule

HISTORY

1.0.1 (ongoing)

  • Update Maxwell configuration
  • Add Black plugin
  • Add ale for linting
  • Add rope for refactoring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published