From 79400a088003aed7f51a856a8391b05425d81a0e Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 3 Feb 2015 20:15:56 +0100 Subject: Added vim-pathogen to manage git plugins --- .gitmodules | 9 +++++++++ herbstluftwm/.config/herbstluftwm/theme.sh | 4 ++-- vim/.vim/autoload/pathogen.vim | 1 + vim/.vim/bundle/nerdtree | 1 + vim/.vim/vim-pathogen | 1 + vim/.vimrc | 6 ++++-- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 120000 vim/.vim/autoload/pathogen.vim create mode 160000 vim/.vim/bundle/nerdtree create mode 160000 vim/.vim/vim-pathogen diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8f453df --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "vim/.vim/bundle/vim-pathogen"] + path = vim/.vim/bundle/vim-pathogen + url = https://github.com/tpope/vim-pathogen.git +[submodule "vim/.vim/bundle/nerdtree"] + path = vim/.vim/bundle/nerdtree + url = git@github.com:scrooloose/nerdtree.git +[submodule "vim/.vim/vim-pathogen"] + path = vim/.vim/vim-pathogen + url = git@github.com:tpope/vim-pathogen.git diff --git a/herbstluftwm/.config/herbstluftwm/theme.sh b/herbstluftwm/.config/herbstluftwm/theme.sh index cfc5536..c4f9433 100644 --- a/herbstluftwm/.config/herbstluftwm/theme.sh +++ b/herbstluftwm/.config/herbstluftwm/theme.sh @@ -12,7 +12,7 @@ add_alpha_channel(){ } # Wallpaper -wallpaper="/home/tom/Pictures/ice.jpg" +wallpaper="/home/tom/Pictures/mountains.jpg" # Padding window_p=20 @@ -24,7 +24,7 @@ font_sec="-*-stlarch-medium-*-*-*-10-*-*-*-*-*-*-*" # Colors color_fg=$(get_x_color 15) -color_accent=$(get_x_color 12) +color_accent=$(get_x_color 11) color_bg=$(get_x_color 0) # Alpha Colors for use with bar diff --git a/vim/.vim/autoload/pathogen.vim b/vim/.vim/autoload/pathogen.vim new file mode 120000 index 0000000..9a7227e --- /dev/null +++ b/vim/.vim/autoload/pathogen.vim @@ -0,0 +1 @@ +../vim-pathogen/autoload/pathogen.vim \ No newline at end of file diff --git a/vim/.vim/bundle/nerdtree b/vim/.vim/bundle/nerdtree new file mode 160000 index 0000000..3b98a7f --- /dev/null +++ b/vim/.vim/bundle/nerdtree @@ -0,0 +1 @@ +Subproject commit 3b98a7fcae8f9fff356907171f0406ff8cd28921 diff --git a/vim/.vim/vim-pathogen b/vim/.vim/vim-pathogen new file mode 160000 index 0000000..b9fb0df --- /dev/null +++ b/vim/.vim/vim-pathogen @@ -0,0 +1 @@ +Subproject commit b9fb0dfd811004010f5f6903edef42d6004ebea2 diff --git a/vim/.vimrc b/vim/.vimrc index 7313a1c..c0c3fec 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,8 +1,10 @@ +execute pathogen#infect() + syntax on +filetype plugin indent on set number set background=dark -set tabstop=4 autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif - +autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif -- cgit v1.2.3