-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
40 lines (30 loc) · 1005 Bytes
/
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
set nocompatible " be iMproved
set encoding=utf-8 " Necessary to show unicode glyphs
set laststatus=2 " Always show the statusline
set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-powerline'
Bundle 'bronson/vim-trailing-whitespace'
Bundle 'tpope/vim-markdown'
Bundle 'beyondwords/vim-twig'
Bundle 'altercation/vim-colors-solarized'
filetype plugin indent on
syntax enable
set background=light
let g:solarized_termcolors=256
"let g:solarized_termtrans=1
colorscheme solarized
set expandtab
set tabstop=4
set shiftwidth=4
map <F2> :retab <CR> :wq! <CR>
set wildmenu " Better completion
set wildmode=list:longest " BASH style completion
" Forced write as su
cmap w!! w !sudo tee % >/dev/null
"Powerline
let g:Powerline_symbols = 'fancy'