/dotvim

My Neovim setup.

Primary LanguageVim Script

Introduction

This is my Neovim setup, which is also compatible to Vim, at least for now.

Features

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