-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdot_vimrc
More file actions
27 lines (24 loc) · 840 Bytes
/
dot_vimrc
File metadata and controls
27 lines (24 loc) · 840 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Color schemes
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax on
set background=dark
colorscheme default
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim things that only apply to GUI
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if has ("gui_running")
set go-=T " no toolbar
set guifont=Monaco:h12 " default font and size
set background=light
endif
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Weird meta vim shit
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" auto-source the vimrc file whenever it is saved
if has("autocmd")
autocmd! bufwritepost .vimrc source $MYVIMRC
endif
" ,v to edit vimrc in new tab
let mapleader = ","
nmap <leader>v :tabedit $MYVIMRC<CR>