-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
79 lines (66 loc) · 1.72 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
set nocompatible
syntax on
set nonumber
set ignorecase
set smarttab expandtab tabstop=4 shiftwidth=4
set nobackup noswapfile
set wildmode=longest,list,full
set backspace=indent,eol,start
"set autoindent
" Tab specific option
" key-bindings
" imap jk <esc>
" imap kj <esc>
nnoremap ; :
nnoremap j gj
nnoremap k gk
let mapleader="\<Space>"
nmap <leader>ev :e $MYVIMRC<CR>
nmap <leader>sv :source $MYVIMRC<CR>
nmap <leader>k :Explore<CR>
nmap <leader>j :Rexplore<CR>
vmap ; <esc>
nmap <leader>m :make<cr>
"" >>> Vundle ""
filetype off
source ~/.vimrc.vundle
filetype plugin indent on
"" <<< Vundle ""
"" base16 colorscheme
"let base16colorspace=256
"set background=light
"colorscheme base16-mocha
"highlight Comment ctermfg=DarkGrey
"highlight Visual cterm=None ctermfg=DarkGrey ctermbg=Grey
"highlight MatchParen ctermfg=Red
"colorscheme ron
"set spell
set laststatus=2
set statusline=%f\ %y\ %l/%L\
set completeopt-=preview
" Syntastic
"set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
"set statusline+=%*
"let g:syntastic_auto_loc_list = 0
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
"let g:syntastic_loc_list_height = 5
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_cpp_compiler = "g++"
"let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic"
""let g:syntastic_debug = 3
"
"let g:syntastic_haskell_checkers = [ 'hlint' ]
nmap > :lnext<CR>
nmap < :lprev<CR>
" neco-ghc
" Disable haskell-vim omnifunc
let g:haskellmode_completion_ghc = 0
autocmd FileType haskell setlocal omnifunc=necoghc#omnifunc
let g:necoghc_enable_detailed_browse = 1
" vim-airline
"let g:airline_powerline_fonts=0
"set timeoutlen=1000
"let g:airline_left_sep=""
"let g:airline_right_sep=""