-
Notifications
You must be signed in to change notification settings - Fork 0
/
gvimrc
48 lines (45 loc) · 1.12 KB
/
gvimrc
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
set nocompatible
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
:set nowrap
syntax enable
filetype indent on
set number
set guifont=Monospace\ 16
set ch=2
highlight cComment ctermfg=Blue guifg=Pink
colorscheme darkblue
:set autoindent
:set smartindent
autocmd FileType c call IoStream()
fu! IoStream()
if line("$") == 1
call append(0, "#include <stdio.h>")
call append(1 ,"#include <stdlib.h>")
call append(2,"")
call append(3,"")
call append(4, "int main()")
call append(5,"{")
call append(6,"")
call append(7,"")
call append(8,"")
call append(9, " return 0;")
call append(10, "}")
endif
endfu
set title
color dracula
"set noswapfile
"call plug#begin()
" Plug 'scrooloose/nerdtree'
" Plug 'ervandew/supertab'
" Plug 'scrooloose/syntastic'
" Plug 'bling/vim-airline'
" Plug 'scrooloose/nerdcommenter'
" Plug 'tpope/vim-surround'
" Plug 'vim-scripts/delimitMate.vim'
" Plug 'valloric/YouCompleteMe'
"call plug#end()
"