forked from alanstevens/KickAssVim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
53 lines (41 loc) · 1.56 KB
/
vimrc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
" 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
" When I close a tab, remove the buffer
set nohidden
" save the last 1000 commands/search terms
set history=1000
" use ; for <Leader>
let mapleader = ";"
"" shortmess settings:
" f - use "(3 of 5)" instead of "(file 3 of 5)"
" i - use "[noeol]" instead of "[Incomplete last line]"
" l - use "999L, 888C" instead of "999 lines, 888 characters"
" m - use "[+]" instead of "[Modified]"
" n - use "[New]" instead of "[New File]"
" r - use "[RO]" instead of "[readonly]"
" x - use "[dos]" instead of "[dos format]", "[unix]" instead of "[unix
" format]", and "[mac]" instead of "[mac format]"
" t - truncate file message at the start if it is too long to fit on the
" command-line, "<" will appear in the left most column.
" T - trunctate other messages in the middle if they are too long to fit on
" the command line. "..." will appear in the middle.
" I - don't give the intro message when starting Vim.
set shortmess=filmnrxtTI
" No startup messages
set shm+=atmI
" turn filetype settings off so that stuff gets loaded from pathogen
filetype off
" use pathogen to load plugins/etc.
call pathogen#runtime_append_all_bundles()
" turn on all filetype settings, syntax, etc.
filetype plugin indent on
syntax on
" load everything else in its own config file
runtime! config/**/*
if has('win32')
source $VIMRUNTIME/mswin.vim
endif