mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
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:
parent
647a7abb6a
commit
6ae6b994f4
34 changed files with 20 additions and 239 deletions
32
vimrc
32
vimrc
|
|
@ -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 [5D <Home>
|
|||
map! [5D <Home>
|
||||
map [5C <End>
|
||||
map! [5C <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 [1;3D <M-Left>
|
||||
map! [1;3D <M-Left>
|
||||
map [1;3C <M-Right>
|
||||
map! [1;3C <M-Right>
|
||||
|
||||
" make meta move on words like control
|
||||
map <M-Left> <C-Left>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue