Skip to content

nooop3/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIM Configuration

Prepare

Install fzf

Linux

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

Mac

brew install fzf
$(brew --prefix)/opt/fzf/install

Install node

Install nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Install latest release of node

export NVM_NODEJS_ORG_MIRROR=http://npm.taobao.org/mirrors/node
nvm install node

Link .vimrc file

ln -s $(pwd)/.vimrc ~/.vimrc

Start VIM

First start to init the plug

vim

Install coc.nvim Plugin

ln -s $(pwd)/coc-settings.json ~/.vim/coc-settings.json
# install coc-json & coc-html and exit
alias nvm_mirror='npm_config_registry=http://registry.npm.taobao.org/ SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/'
nvm_mirror vim -c 'CocInstall -sync coc-json coc-tsserver coc-pyright coc-sql|q'

Install ALE Support Tools

# brew install sqllint
brew install pgformatter

Update .vimrc

vim -u DEFAULTS ~/.vimrc

Install Powerline fonts

# Change fonts in the iTerm2 Profiles -> Text -> Font
brew install svn
brew install --cask homebrew/cask-fonts/font-dejavu-sans-mono-for-powerline

Others

  • .vimrc is for Linux/Mac
  • .vimperatorrc is for Firefox plugin vimperator
  • Plugins manage: vim-plug

Tridactyl

Link

ln -s $(pwd)/.tridactylrc ~/.tridactylrc

About

vimrc (include linux and MS-windows)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published