-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
65 lines (62 loc) · 1.38 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
"Vundle
set nocompatible
filetype off
filetype plugin indent on
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_rust_checkers = ['rustc']
let g:syntastic_enable_perl_checker = 1
let g:syntastic_perl_checkers = ['perl']
set showmode
set hlsearch
set incsearch
set ignorecase
set nowrapscan
set cindent
set smartindent
set autoindent
"filetype indent on
set background=dark
syntax enable
set cursorline
set softtabstop=4
set backspace=2
set shiftwidth=4
colorscheme pista
set guifont=DejaVu\ Sans\ Mono\ 13
set expandtab
set cinkeys=0{,0}:,0#,!^F
autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab
autocmd FileType C set tabstop=8|set shiftwidth=8|set expandtab
set smarttab
set encoding=utf-8
set fileencodings=utf-8
"filetype plugin on
let g:html_tag_case = 'lowercase'
let g:do_xhtml_mappings = 'yes'
execute 'set listchars+=tab:'.nr2char(187).nr2char(183)
map <A-1> 1gt
map <A-2> 2gt
map <A-3> 3gt
map <A-4> 4gt
map <A-5> 5gt
map <A-6> 6gt
map <A-7> 7gt
map <A-8> 8gt
map <A-9> 9gt
imap <A-1> <Esc>1gt
imap <A-2> <Esc>2gt
imap <A-3> <Esc>3gt
imap <A-4> <Esc>4gt
imap <A-5> <Esc>5gt
imap <A-6> <Esc>6gt
imap <A-7> <Esc>7gt
imap <A-8> <Esc>8gt
imap <A-9> <Esc>9gt
set noeb vb t_vb=
"