# Backup/Rename
[ -d $HOME/.vim ] && mv $HOME/.vim $HOME/.vim.bak
[ -f $HOME/.vimrc ] && mv $HOME/.vimrc $HOME/.vimrc.bak
[ -d $HOME/.config/vim ] && mv $HOME/.config/vim $HOME/.config/vim.bak# See https://github.com/vim/vim/commit/c9df1fb35a1866901c32df37dd39c8b39dbdb64a
# Base on XDG Spec (Recommanded)
mkdir -p $HOME/.config/vim
git clone https://github.com/startup-dotfiles/vim $HOME/.config/vim
# These files can be deleted after installation.
rm -r README.md LICENSE assets/ .git/ .gitignoreNote
If this is your first time installing, starting vim will automatically install plug.vim to $HOME/.config/vim/autoload/.
Then Enter :PlugInstall to install the plugins in vim.
- File explorer
- preservim/nerdtree: A tree explorer plugin for vim.
- Status line:
- vim-airline/vim-airline: lean & mean status/tabline for vim that's light as air.
- vim-airline/vim-airline-themes: A collection of themes for vim-airline.
- Theme:
- sainnhe/everforest: Comfortable & Pleasant Color Scheme for Vim.
- NLKNguyen/papercolor-theme: Light & Dark Vim color schemes inspired by Google's Material Design Topics.
- Programming
- fedorenchik/fasm.vim: FASM (Flat Assembler) support for vim.
- llvm/llvm.vim: About Vim filetype support for LLVM (mirrored from llvm-project).
- yegappan/lsp: LSP plugin for Vim9.
- bfrg/vim-c-cpp-modern: Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23).
- skywind3000/asyncrun.vim: Run Async Shell Commands in Vim.
- tpope/vim-commentary: Comment stuff out.
- Integration:
- junegunn/fzf: fzf ❤️ vim.
- axvr/org.vim: Org mode syntax highlighting and folding for Vim.
- Enhancement:
- tpope/vim-sensible: Defaults everyone can agree on.
- godlygeek/tabular: Vim script for text filtering and alignment.
- Leader key: Space
| Action | Key |
|---|---|
| Open File explorer | leader + n |
See vimrc.