-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
33 lines (24 loc) · 665 Bytes
/
vimrc
File metadata and controls
33 lines (24 loc) · 665 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
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
set noswapfile
set backupdir=~/.vim/backup,.,/tmp
" Make backspace behave in a sane manner.
set backspace=indent,eol,start
set ruler
" Switch syntax highlighting on
syntax on
" Enable file type detection and do language-dependent indenting.
filetype plugin indent on
if has("gui_running")
" Font
set guifont=Source\ Code\ Pro:h18
endif
"autocmd filetype python set expandtab
set history=1000
set undolevels=1000
set wildignore=*.swp,*.bak,*.out
" No tabs
set tabstop=4
set shiftwidth=4
set expandtab