From b920816216cb161449dcf03ffe964c667c7b36c2 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 16 Sep 2015 15:38:58 +0100 Subject: Split install file --- .vim/Makefile | 22 ++++++++++++++++++++++ .vim/colors/mine.vim~ | 29 ----------------------------- .vim/vim-plug | 1 + .vim/vimrc | 2 +- 4 files changed, 24 insertions(+), 30 deletions(-) create mode 100644 .vim/Makefile delete mode 100644 .vim/colors/mine.vim~ create mode 160000 .vim/vim-plug (limited to '.vim') diff --git a/.vim/Makefile b/.vim/Makefile new file mode 100644 index 0000000..3c5fc67 --- /dev/null +++ b/.vim/Makefile @@ -0,0 +1,22 @@ +HOME=/home/urbain +TARGETS=$(addprefix $(HOME)/,.vimrc .nvimrc .vim .nvim .vim/vimundo) + +all : $(TARGETS) + +$(HOME)/.vimrc : + rm -f $@ && ln -s $(PWD)/vimrc $@ + +$(HOME)/.nvimrc : + rm -f $@ && ln -s $(PWD)/vimrc $@ + +$(HOME)/.vim : + rm -f $@ && ln -s $(PWD) $@ + +$(HOME)/.nvim : + rm -f $@ && ln -s $(PWD) $@ + +$(HOME)/.vim/vimundo : + mkdir -p $@ + +clean : + rm -f $(TARGETS) diff --git a/.vim/colors/mine.vim~ b/.vim/colors/mine.vim~ deleted file mode 100644 index 653682e..0000000 --- a/.vim/colors/mine.vim~ +++ /dev/null @@ -1,29 +0,0 @@ -" Vim color file -" Maintainer: Urbain -" Last Change: 2002/10/14 Mon 16:41. -" version: 1.0 -" This color scheme uses a light background. - -set background=light -hi clear -if exists("syntax_on") - syntax reset -endif - -let colors_name = "mine" - -" Syntax group -hi Comment gui=none guifg=#af5f00 -hi Normal guibg=white guifg=Black -hi Type gui=none guifg=#005f00 -hi Statement gui=none guifg=#5f0000 -hi Special guifg=Black -hi Constant guifg=Gray -hi Error guifg=Red guibg=White -hi Preproc guifg=Blue "\end -hi Constant guifg=Green "\ $$ -hi Identifier guifg=Blue "\begin -hi LineNr gui=none guifg=Gray -hi FoldColumn guibg=#F5F4FD -hi Todo guibg=white gui=underline,italic guifg=Red -hi Conceal guibg=White guifg=DarkGreen diff --git a/.vim/vim-plug b/.vim/vim-plug new file mode 160000 index 0000000..86e75e5 --- /dev/null +++ b/.vim/vim-plug @@ -0,0 +1 @@ +Subproject commit 86e75e5d0859b99d3b527a92e6489984ff2eb057 diff --git a/.vim/vimrc b/.vim/vimrc index 0f3b57b..203c5fc 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -292,7 +292,7 @@ nnoremap C :call fzf#run({ \ }) "" Experimental -let g:notes_directories = ['~/.notes'] +let g:notes_directories = ['~/dotfiles/private/.notes'] let g:pymode=0 " Idea: instant download colorscheme -- cgit v1.2.3