setup nvim with vim config by default

This commit is contained in:
Tobias Manske 2022-04-04 23:17:03 +02:00
parent 83cc9e9285
commit 83ee78e116
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,8 @@ polybar:
vim:
ln -s ~/.dotfiles/vim ~/.vim
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
mkdir -p ~/.config/nvim || true
ln -s ~/.dotfiles/vim/nvim-init.vim ~/.config/nvim/init.vim
sudo pip3 install neovim
sudo pacman -S python-greenlet || true
mkdir -p ~/.dotfiles/vim/.swp

3
vim/nvim-init.vim Normal file
View File

@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc