changeset 221:152b34da1f13

Add notes
author zegervdv <zegervdv@me.com>
date Sun, 11 Jan 2015 18:36:10 +0100
parents 922772b646ce
children 529bb6ae8e5e
files hooks/post-up vim/spell/en.utf-8.add vimrc
diffstat 3 files changed, 9 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/hooks/post-up	Wed Dec 24 17:34:34 2014 +0100
+++ b/hooks/post-up	Sun Jan 11 18:36:10 2015 +0100
@@ -1,15 +1,11 @@
 #!/bin/sh
 
-if [ ! -e $HOME/.vim ]; then
-  ln -s $HOME/.dotfiles/vim $HOME/.vim
-fi
-
-if [ ! -e $HOME/.vimwiki ]; then
-  ln -s $HOME/.dotfiles/vimwiki $HOME/.vimwiki
+if [ ! -e $HOME/.vim/notes ]; then
+  ln -s $HOME/.dotfiles/vim/notes $HOME/.vim/notes
 fi
 
 # Update plugins
-cd $HOME/.dotfiles
-git submodule init
-git submodule update
+# cd $HOME/.dotfiles
+# git submodule init
+# git submodule update
 
--- a/vim/spell/en.utf-8.add	Wed Dec 24 17:34:34 2014 +0100
+++ b/vim/spell/en.utf-8.add	Sun Jan 11 18:36:10 2015 +0100
@@ -6,3 +6,4 @@
 Chebyshev
 microcontroller
 datasheet
+photoresist
--- a/vimrc	Wed Dec 24 17:34:34 2014 +0100
+++ b/vimrc	Sun Jan 11 18:36:10 2015 +0100
@@ -20,6 +20,8 @@
 Plug 'wellle/targets.vim'
 Plug 'mtth/scratch.vim'
 Plug 'mrmargolis/dogmatic.vim'
+Plug 'xolox/vim-misc'
+Plug 'xolox/vim-notes'
 
 " Undo
 Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' }
@@ -529,7 +531,7 @@
 let g:startify_session_dir = "~/.vim/sessions"
 " }}}
 " Vimwiki {{{
-let g:vimwiki_list=[{'path':'$HOME/.vimwiki'}]
+let g:notes_directories = ['~/.vim/notes']
 " }}}
 " Vim Sessions {{{
 let g:session_autosave = 'no'