diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..39ed2c5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,12 @@ +[submodule "vim/vim/bundle/vim-fugitive"] + path = vim/vim/bundle/vim-fugitive + url = https://github.com/tpope/vim-fugitive +[submodule "vim/vim/bundle/vim-airline"] + path = vim/vim/bundle/vim-airline + url = https://github.com/bling/vim-airline +[submodule "vim/vim/bundle/vim-sneak"] + path = vim/vim/bundle/vim-sneak + url = https://github.com/justinmk/vim-sneak +[submodule "vim/vim/bundle/vim-pathogen"] + path = vim/vim/bundle/vim-pathogen + url = https://github.com/tpope/vim-pathogen diff --git a/vim/README.md b/vim/README.md new file mode 100644 index 0000000..7c0700c --- /dev/null +++ b/vim/README.md @@ -0,0 +1,30 @@ +#Vim Configuration Files + +My vim configuration is relatively straight forward. + +###RC File +* Word-wrap is set to 80 characters +* Spaces not tabs; tab-length set to 5 +* Wild menu + +###Directory +Additionally, I have several extensions, as submodules, in .vim/bundle: +* [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration. +* [Airline](https://github.com/bling/vim-airline) to look nice, but not garish. +* [Sneak](https://github.com/justinmk/vim-sneak) for getting around. +* and [Pathogen](https://github.com/tpope/vim-pathogen) to do the hard work. + +###Utilization +To use these configuration, perform the following steps +1. Copy vimrc to .vimrc in your home directory +> cp vimrc ~/.vimrc +2. Copy the vim directory to .vim in your home directory +> cp -r vim ~/.vim + +This process is currently unautomated, and as such any updates to this +repository will need to be manually copied as above. + +####To-Do +[ ] Automate utilization step (considering post-fetch Git hook) +[ ] Customize Airline more + diff --git a/vim/.vim/autoload/pathogen.vim b/vim/vim/autoload/pathogen.vim similarity index 100% rename from vim/.vim/autoload/pathogen.vim rename to vim/vim/autoload/pathogen.vim diff --git a/vim/vim/bundle/vim-airline b/vim/vim/bundle/vim-airline new file mode 160000 index 0000000..f45ecda --- /dev/null +++ b/vim/vim/bundle/vim-airline @@ -0,0 +1 @@ +Subproject commit f45ecdac15d99ed2354873a8b4d40432fd0a85a3 diff --git a/vim/.vim/bundle/vim-fugitive b/vim/vim/bundle/vim-fugitive similarity index 100% rename from vim/.vim/bundle/vim-fugitive rename to vim/vim/bundle/vim-fugitive diff --git a/vim/vim/bundle/vim-pathogen b/vim/vim/bundle/vim-pathogen new file mode 160000 index 0000000..b9fb0df --- /dev/null +++ b/vim/vim/bundle/vim-pathogen @@ -0,0 +1 @@ +Subproject commit b9fb0dfd811004010f5f6903edef42d6004ebea2 diff --git a/vim/vim/bundle/vim-sneak b/vim/vim/bundle/vim-sneak new file mode 160000 index 0000000..fe77f80 --- /dev/null +++ b/vim/vim/bundle/vim-sneak @@ -0,0 +1 @@ +Subproject commit fe77f80bebf8935fe58e5b395653a19a24ca0c97 diff --git a/vim/.vim/colors/wombat.vim b/vim/vim/colors/wombat.vim similarity index 100% rename from vim/.vim/colors/wombat.vim rename to vim/vim/colors/wombat.vim diff --git a/vim/.vimrc b/vim/vimrc similarity index 95% rename from vim/.vimrc rename to vim/vimrc index 05e23e3..70c2808 100644 --- a/vim/.vimrc +++ b/vim/vimrc @@ -12,6 +12,7 @@ set showcmd " Enables addons via Pathogen " Add-ons go in ~/.vim/bundle/ +runtime bundle/vim-pathogen/autoload/pathogen.vim execute pathogen#infect() " Necessary for Syntax hilighting