Pathogen update and refactoring

- Now using g:pathogen_disabled instead of symlinking
- Resetting submodules to start over cleanly
- Pathogen is a submodule too now
This commit is contained in:
Loic Nageleisen 2011-10-12 19:28:11 +02:00
parent 647a7abb6a
commit 6ae6b994f4
34 changed files with 20 additions and 239 deletions

32
vimrc
View file

@ -1,13 +1,20 @@
" lloeki's vimrc
set nocompatible
"bundle loading via pathogen
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
let g:pathogen_disabled = ['command-t']
filetype off
runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
syntax on
filetype plugin indent on
set nocompatible
scriptencoding "utf-8"
"security measure
set modelines=0
" prevent .netrwhist creation
let g:netrw_dirhistmax = 0
@ -66,16 +73,6 @@ endif
" endif
"endif
"enable syntax highlighting if term supports enough colors
if has('syntax') && (&t_Co > 2)
syntax on
endif
"enable filetype detection
"filetype on
filetype plugin on
filetype indent on
"ignore some files
set wildignore+=*.o,*.obj,.git,.svn,*.pyc
@ -149,11 +146,16 @@ map  <Home>
map!  <Home>
map  <End>
map!  <End>
"Terminal.app option+arrows
"Lion Terminal.app option+arrows
map b <M-Left>
map! b <M-Left>
map f <M-Right>
map! f <M-Right>
"Terminal.app option+arrows
map  <M-Left>
map!  <M-Left>
map  <M-Right>
map!  <M-Right>
" make meta move on words like control
map <M-Left> <C-Left>