_
__ __ __ _(_)_ __ ___
\ \/ /___\ \ / / | '_ ` _ \
> <_____\ V /| | | | | | |
/_/\_\ \_/ |_|_| |_| |_|
- fzf (A command-line fuzzy finder)
- bat A cat(1) clone with wings. - [opt]
- ag (The Silver Searcher)
- rg (Ripgrep)
- Universal ctags
# CentOS
sudo yum groupinstall 'Development Tools'
sudo yum install epel-release
sudo yum install -y git fzf ctags cscope the_silver_searcher
# Ubuntu
sudo apt install -y git fzf ctags silversearcher-ag
# MacOS
brew install git fzf ag bat cscope ctags
git clone https://github.com/nvm-sh/nvm.git ~/.nvm
cd ~/.nvm && git checkout v0.39.7
# 添加环境变量到 ~/.bashrc
if [ -d "$HOME/.nvm" ];then
export NVM_NODEJS_ORG_MIRROR="http://npm.taobao.org/mirrors/node"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"
fi
source ~/.bashrc
nvm install v18.19.0
nvm alias default v18.19.0
npm config set registry https://registry.npm.taobao.org
git clone https://github.com/hhktony/x-vim.git ~/.vim
cd ~/.vim/ && ./install.sh
pip install pytest ruff pynvim
# MacOS
brew install ccls
go install golang.org/x/tools/gopls@latest
npm i -g bash-language-server
Key | Mode | Action |
---|---|---|
,+gd | 𝐍 | coc-definition |
Command
:CocInstall coc-omni
:CocInstall coc-omni@1.0.0
:CocUninstall coc-omni
:CocList extensions
:CocList marketplace
:CocList maps
:CocCommand explorer
Debug
export NVIM_COC_LOG_LEVEL=debug && export NVIM_COC_LOG_FILE=/tmp/coc.log
View currently loaded plug-ins
echo keys(g:plugs)