-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.vimrc
More file actions
37 lines (30 loc) · 695 Bytes
/
.vimrc
File metadata and controls
37 lines (30 loc) · 695 Bytes
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
" syntax, color scheme
syntax enable
colo monokai
" enable mouse support
set mouse=a
" set black background
hi Normal ctermbg=16 guibg=#000000
hi LineNr ctermbg=16 guibg=#000000
" cursor line
set cursorline
hi cursorline gui=underline cterm=underline ctermbg=NONE
" for buftabline plugin
set hidden
nnoremap <C-N> :bnext<CR>
nnoremap <C-P> :bprev<CR>
" for nerdtree plugin
" uncomment to start NERDTree automatically and put the cursor back in the other window.
" autocmd VimEnter * NERDTree | wincmd p
" some simple autocompletion
inoremap ( ()<left>
inoremap [ []<left>
inoremap { {}<left>
inoremap ' ''<left>
" more
filetype on
set ai
set nowrap
set number
set tabstop=4
set expandtab