Created
January 5, 2013 04:19
-
-
Save nicerobot/4459731 to your computer and use it in GitHub Desktop.
.vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " https://github.com/mnazim/dotfiles/blob/master/vim/vimrc | |
| syntax on | |
| colorscheme zellner | |
| set t_ti= t_te= " don't clear the screen on exit | |
| set ignorecase | |
| set smartcase | |
| set incsearch | |
| set showbreak=> | |
| set wrap linebreak textwidth=0 | |
| set autowrite | |
| " set mouse=a | |
| set ttymouse=xterm2 | |
| set background=light | |
| set display=uhex | |
| set ruler | |
| set ts=2 | |
| set nocompatible | |
| set ffs=unix | |
| set backspace=2 | |
| call pathogen#runtime_append_all_bundles() | |
| call pathogen#helptags() | |
| noremap <leader>o <Esc>:CommandT<CR> | |
| noremap <leader>O <Esc>:CommandTFlush<CR> | |
| noremap <leader>m <Esc>:CommandTBuffer<CR> | |
| autocmd FileType html,htmldjango,jinjahtml,eruby,mako let b:closetag_html_style=1 | |
| autocmd FileType html,xhtml,xml,htmldjango,jinjahtml,eruby,mako source ~/.vim/bundle/closetag/plugin/closetag.vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://mirnazim.org/writings/vim-plugins-i-use/ | |
| add: | |
| git submodule init && git submodule update; true | |
| pull: | |
| git submodule foreach git pull; true | |
| start: | |
| git init | |
| git add . | |
| git commit -m 'init' | |
| make pathogen | |
| echo 'call pathogen#runtime_append_all_bundles()' >>~/.vimrc | |
| echo 'call pathogen#helptags()' >>~/.vimrc | |
| make bundles | |
| pathogen: | |
| git clone git://github.com/tpope/vim-pathogen.git pathogen | |
| ln -s pathogen/autoload | |
| bundles: fugitive command-t delmitmate closetag pyflakes nerdcommenter supertab | |
| # http://vimcasts.org/blog/2011/05/the-fugitive-series/ | |
| fugitive: bundle/fugitive | |
| bundle/fugitive: | |
| git submodule add git://github.com/tpope/vim-fugitive.git bundle/fugitive | |
| make add | |
| # http://git.wincent.com/command-t.git/blob_plain/HEAD:/doc/command-t.txt | |
| command-t: bundle/command-t | |
| bundle/command-t: | |
| git submodule add git://git.wincent.com/command-t.git bundle/command-t | |
| make add | |
| cd ~/.vim/bundle/command-t/ruby/command-t/; ruby extconf.rb; make | |
| echo 'noremap <leader>o <Esc>:CommandT<CR>' >>~/.vimrc | |
| echo 'noremap <leader>O <Esc>:CommandTFlush<CR>' >>~/.vimrc | |
| echo 'noremap <leader>m <Esc>:CommandTBuffer<CR>' >>~/.vimrc | |
| # :help delimitmate | |
| delmitmate: bundle/delmitmate | |
| bundle/delmitmate: | |
| git submodule add git://github.com/Raimondi/delimitMate.git bundle/delmitmate | |
| make add | |
| closetag: bundle/closetag | |
| bundle/closetag: | |
| git submodule add git://github.com/docunext/closetag.vim.git bundle/closetag | |
| make add | |
| echo 'autocmd FileType html,htmldjango,jinjahtml,eruby,mako let b:closetag_html_style=1' >>~/.vimrc | |
| echo 'autocmd FileType html,xhtml,xml,htmldjango,jinjahtml,eruby,mako source ~/.vim/bundle/closetag/plugin/closetag.vim' >>~/.vimrc | |
| # http://pypi.python.org/pypi/pyflakes | |
| pyflakes: bundle/pyflakes | |
| bundle/pyflakes: | |
| git submodule add git://github.com/kevinw/pyflakes-vim.git bundle/pyflakes | |
| make add | |
| nerdcommenter: bundle/ | |
| bundle/nerdcommenter: | |
| git submodule add git://github.com/scrooloose/nerdcommenter.git bundle/nerdcommenter | |
| make add | |
| supertab: bundle/supertab | |
| bundle/supertab: | |
| git submodule add git://github.com/vim-scripts/supertab.git bundle/supertab | |
| make add | |
| # required exuberant-ctags?? | |
| tagbar: bundle/tagbar | |
| bundle/tagbar: | |
| git submodule add git://github.com/majutsushi/tagbar.git bundle/tagbar | |
| make add | |
| # I don't care about solarized so not included in bundles: | |
| solarized: bundle/solarized | |
| bundle/solarized: | |
| git submodule add git://github.com/altercation/vim-colors-solarized.git bundle/solarized | |
| make add | |
| # https://github.com/tpope/vim-surround | |
| # https://github.com/vim-scripts/Better-CSS-Syntax-for-Vim | |
| # http://mirnazim.org/writings/vim-plugins-i-use/github.com/ap/vim-css-color | |
| # https://github.com/godlygeek/csapprox | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment