summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
commitb920816216cb161449dcf03ffe964c667c7b36c2 (patch)
tree8f666cc88277df541e3364fbc45dcd63acd7a45e /.vim
parent63a9e763db248af694edc3755a288f2bfb73c834 (diff)
Split install file
Diffstat (limited to '.vim')
-rw-r--r--.vim/Makefile22
-rw-r--r--.vim/colors/mine.vim~29
m---------.vim/vim-plug0
-rw-r--r--.vim/vimrc2
4 files changed, 23 insertions, 30 deletions
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
+Subproject 86e75e5d0859b99d3b527a92e6489984ff2eb05
diff --git a/.vim/vimrc b/.vim/vimrc
index 0f3b57b..203c5fc 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -292,7 +292,7 @@ nnoremap <silent> <Leader>C :call fzf#run({
\ })<CR>
"" Experimental
-let g:notes_directories = ['~/.notes']
+let g:notes_directories = ['~/dotfiles/private/.notes']
let g:pymode=0
" Idea: instant download colorscheme