-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
42 lines (36 loc) · 1.34 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
" basic config from http://mislav.uniqpath.com/2011/12/vim-revisited/
call pathogen#infect()
set nocompatible " choose no compatibility with legacy vi
syntax enable
set encoding=utf-8
set showcmd " display incomplete commands
filetype plugin indent on " load file type plugins + indentation
set number
"" Whitespace
set nowrap " don't wrap lines
set softtabstop=2
set shiftwidth=2 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set backspace=indent,eol,start " backspace through everything in insert mode
"" Searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
colorscheme koehler
set showtabline=2
map <F2> :NERDTreeToggle \| :silent NERDTreeMirror<CR>
map <C-H> :tabp<CR>
map <C-L> :tabn<CR>
let g:gist_detect_filetype = 1
let g:gist_open_browser_after_post = 1
let g:CommandTAcceptSelectionMap = '<C-t>'
let g:CommandTAcceptSelectionTabMap = '<CR>'
set guifont=Consolas:h13
" word wrap settings
:set wrap
:set linebreak
:set nolist " list disables linebreak
:set textwidth=0
:set wrapmargin=0
:set formatoptions+=l