-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
99 lines (71 loc) · 1.95 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
set nocompatible
filetype off
set gcr=a:blinkon0
set sw=2
set ts=2
set expandtab
set ignorecase " required for smartcase
set smartcase
set showcmd
set list lcs=tab:»\ ,trail:·
set wildmenu
set wildmode=longest:full,full
set splitbelow
set splitright
" key bindings
" need to unmap space before it can be <Leader>
nnoremap <SPACE> <Nop>
let mapleader = " "
nnoremap <Leader>w :update<cr>
nnoremap <Leader>q :quit<cr>
nnoremap <Leader>ve :edit ~/.vimrc<cr>
nnoremap <Leader>vs :source ~/.vimrc<cr>
nnoremap <Leader>m :make<cr>
nnoremap <Leader><Leader> V
" begin vundling Here
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-sensible'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-unimpaired'
Plugin 'tpope/vim-markdown'
Plugin 'tpope/vim-vividchalk'
Plugin 'tpope/vim-commentary'
" Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-repeat'
Plugin 'dietsche/vim-lastplace'
Plugin 'ervandew/supertab'
Plugin 'godlygeek/tabular'
Plugin 'rodjek/vim-puppet'
Plugin 'kien/ctrlp.vim'
Plugin 'rust-lang/rust.vim'
" Plugin 'vim-syntastic/syntastic'
Plugin 'jiangmiao/auto-pairs'
" Plugin 'sirver/ultisnips'
" Plugin 'honza/vim-snippets'
" let g:UltiSnipsExpandTrigger="<tab>"
" let g:UltiSnipsJumpForwardTrigger="<tab>"
" let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
" let g:UltiSnipsListSnippets="<c-tab>"
Plugin 'derekwyatt/vim-scala'
Plugin 'neovimhaskell/haskell-vim'
Plugin 'enomsg/vim-haskellConcealPlus'
Plugin 'adimit/prolog.vim'
Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
let g:airline_powerline_fonts=0
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_right_sep = '«'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.whitespace = 'Ξ'
let g:airline_theme='molokai'
call vundle#end()
filetype plugin indent on
colorscheme vividchalk