forked from ayoshi/dotvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
37 lines (27 loc) · 1.04 KB
/
vimrc
File metadata and controls
37 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
" Globally applicable settings should be applied here, as well as anything else
" that needs to be loaded before the config files get executed.
" don't try to play nice with vi
set nocompatible
" allow buffers to be hidden when they're not saved
set hidden
" use ; for <Leader>
let mapleader = ";"
" turn filetype settings off so that stuff gets loaded from pathogen
filetype off
" Add plugins which require ruby only if we have it compiled in
if has("ruby")
call pathogen#runtime_prepend_subdirectories('~/.vim/bundle-ruby')
endif
" Add plugins which require python only if we have it compiled in
if has("python")
call pathogen#runtime_prepend_subdirectories('~/.vim/bundle-python')
endif
" Pathogen: Load all plugins in the bundle directories
call pathogen#runtime_append_all_bundles()
" Causes problems if bundles are git submodules , creates untracked tags files
" call pathogen#helptags()
" turn on all filetype settings, syntax, etc.
filetype plugin indent on
syntax on
" load everything else in its own config file
runtime! config/**/*