Introduction
This is my Neovim setup, which is also compatible to Vim, at least for now.
Features
- Plugin management (with snapshots) via vim-plug.
- LSP via coc.nvim or Neovim native LSP, the default is coc.nvim.
- Code snippet insertion via UltiSnips.
- Fuzzy finder via LeaderF.
- Git integration via fugitive.vim.
- Buffer-wide motions via hop.nvim.
- Status line via lualine.nvim.
- Tab management via bufferline.nvim.
- File explorer via nvim-tree and dirbuf.
- Session management via auto-session.
- Syntax highlighting via nvim-treesitter.
- Animated GUI style notification via nvim-notify.
- Tags management via vista, vim-gutentags and gutentags_plus.
Install
Manual
Assume this repo is placed at ~/Dropbox/Mackup/.vim
.
cd ~/.vim
ln -s ~/Dropbox/Mackup/.vim/UltiSnips .
ln -s ~/Dropbox/Mackup/.vim/after .
ln -s ~/Dropbox/Mackup/.vim/autoload .
ln -s ~/Dropbox/Mackup/.vim/coc-settings.json .
ln -s ~/Dropbox/Mackup/.vim/colors .
ln -s ~/Dropbox/Mackup/.vim/doc .
ln -s ~/Dropbox/Mackup/.vim/ftdetect .
ln -s ~/Dropbox/Mackup/.vim/ftplugin .
ln -s ~/Dropbox/Mackup/.vim/indent .
ln -s ~/Dropbox/Mackup/.vim/init.vim .
ln -s ~/Dropbox/Mackup/.vim/lua .
ln -s ~/Dropbox/Mackup/.vim/spell .
ln -s ~/Dropbox/Mackup/.vim/syntax .
ln -s ~/Dropbox/Mackup/.vim/plugin.lock .
ln -s ~/.vim/init.vim ~/.vimrc
ln -s ~/.vim ~/.config/nvim
# Install plugins
vim -S ~/.vim/plugin.lock
Mackup
~/.mackup.cfg
[applications_to_ignore]
neovim
vim
~/.mackup/dotvim.cfg
[application]
name = dotvim
[configuration_files]
.vim/UltiSnips
.vim/after
.vim/autoload
.vim/coc-settings.json
.vim/colors
.vim/doc
.vim/ftdetect
.vim/ftplugin
.vim/indent
.vim/init.vim
.vim/lua
.vim/spell
.vim/syntax
.vim/plugin.lock
mackup restore -f
ln -s ~/.vim/init.vim ~/.vimrc
ln -s ~/.vim ~/.config/nvim
# Install plugins
vim -S ~/.vim/plugin.lock