-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
104 lines (78 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
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
""""""""""""""""""""""""""""""
"
" Package Management
"
packadd! dracula
""""""""""""""""""""""""""""""
"
" General Configuration
"
set encoding=utf-8
set wildmenu
filetype plugin on
"
" Display
"
set ls=2
set showmode
set showcmd
set modeline
set ruler
set title
set nu rnu
let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"
"
" Line Wrapping
"
set nowrap
set linebreak
set showbreak=▹
"
" Searching
"
set ignorecase
set smartcase
set gdefault
set hlsearch
set showmatch
"
" Indentation
"
set autoindent
set shiftwidth=4
set tabstop=4
set softtabstop=4
set shiftround
set expandtab
""""""""""""""""""""""""""""""
"
" Theming Stuff
"
set termguicolors
syntax enable
colorscheme dracula
""""""""""""""""""""""""""""""
"
" Plugins Configuration
"
"
" Syntastic
"
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
""""""""""""""""""""""""""""""
"
" Keybindings
"
map º <Esc>:NERDTreeToggle<CR>
nmap <silent> <A-Up> :wincmd k<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>