Pārlūkot izejas kodu

Fix issues with nvim config linking

nvim/vim configs no longer refer explicitly to the `.vim` folder, and we
permanently symlink `init.vim`, so the install scripts no longer have
to.
Weiyi Lou 9 gadi atpakaļ
vecāks
revīzija
8b0e3887db
5 mainītis faili ar 2 papildinājumiem un 5 dzēšanām
  1. 0 1
      .gitignore
  2. 0 2
      Makefile
  3. 0 1
      install
  4. 1 0
      vim/init.vim
  5. 1 1
      vim/plugins.vim

+ 0 - 1
.gitignore

@@ -2,7 +2,6 @@
 vim/.netrwhist
 vim/autoload/plug.vim.old
 vim/current-colour
-vim/init.vim
 vim/plugged
 vim/spell
 vim/use-solarized-palette

+ 0 - 2
Makefile

@@ -73,12 +73,10 @@ vim:
 	./bin/linkup ~/dotfiles/vim ~/.vim
 	./bin/linkup ~/dotfiles/vim/vimrc ~/.vimrc
 	./bin/linkup ~/dotfiles/vim $(XDG_CONFIG_HOME)/nvim
-	./bin/linkup ~/dotfiles/vim/vimrc $(XDG_CONFIG_HOME)/nvim/init.vim
 	@vim -u ~/dotfiles/vim/plugins.vim -N +PlugClean! +PlugUpdate! +quitall!
 rm-vim:
 	rm ~/.vim
 	rm ~/.vimrc
-	rm $(XDG_CONFIG_HOME)/nvim/init.vim
 	rm $(XDG_CONFIG_HOME)/nvim
 
 # }}}

+ 0 - 1
install

@@ -43,7 +43,6 @@ echo "Vimperator linked."
 ~/dotfiles/bin/linkup ~/dotfiles/vim ~/.vim
 ~/dotfiles/bin/linkup ~/dotfiles/vim/vimrc ~/.vimrc
 ~/dotfiles/bin/linkup ~/dotfiles/vim $XDG_CONFIG_HOME/nvim
-~/dotfiles/bin/linkup ~/dotfiles/vim/vimrc $XDG_CONFIG_HOME/nvim/init.vim
 echo "Vim linked."
 
 # vim-plug install process. Starts with plugin list and `nocompatible` flag.

+ 1 - 0
vim/init.vim

@@ -0,0 +1 @@
+vimrc

+ 1 - 1
vim/plugins.vim

@@ -8,7 +8,7 @@
 " - setup.sh
 "
 
-call plug#begin('~/.vim/plugged')
+call plug#begin('~/dotfiles/vim/plugged')
 
 " General {{{
 Plug 'Raimondi/delimitMate'