Просмотр исходного кода

Setup script now also initialises git submodules on run

cinaeco 14 лет назад
Родитель
Сommit
f24ca05fd3
3 измененных файлов с 13 добавлено и 2 удалено
  1. 10 1
      README
  2. 3 0
      vim/.netrwhist
  3. 0 1
      vim/vimrc

+ 10 - 1
README

@@ -1,13 +1,22 @@
 # Running this script creates the appropriate symlinks in home
 # Use from within dotFiles directory
 
+# Vim
 ln -s dotFiles/vim ~/.vim
 ln -s dotFiles/vim/vimrc ~/.vimrc
 
+# Zsh
 ln -s dotFiles/zsh/zshrc ~/.zshrc
 ln -s dotFiles/zsh/zshenv ~/.zshenv
 
+# Pentadactyl
 ln -s dotFiles/pentadactyl/pentadactylrc ~/.pentadactylrc
 
-# vim plugins can be added as git submodules into the dotFiles repository
+# This repository has vim plugins as submodules, so initialise and clone them in
+git submodule init
+git submodule update
+
+
+# Add more vim plugins from this dotFiles directory, like so:
+#
 # git submodule add git://github.com/tpope/vim-pathogen.git vim/bundle/pathogen

+ 3 - 0
vim/.netrwhist

@@ -0,0 +1,3 @@
+let g:netrw_dirhistmax  =10
+let g:netrw_dirhist_cnt =1
+let g:netrw_dirhist_1='/Users/acerlouw/dotFiles/vim/vim'

+ 0 - 1
vim/vimrc

@@ -1,7 +1,6 @@
 """"""""
 "" Plugin Loading with Pathogen
 """""""""""""""""""""""""""""""""""""""""""""""""""
-call pathogen#infect()
 call pathogen#runtime_append_all_bundles()
 call pathogen#helptags()