-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
35 lines (29 loc) · 1.17 KB
/
vimrc
File metadata and controls
35 lines (29 loc) · 1.17 KB
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
syntax enable " Enable syntax processing
colorscheme badwolf " Found on github
"Tabs
set tabstop=4 " The number of vishual spaces per TAB
set softtabstop=4 " Number of spaces in TAB when editing
set expandtab " TABs are spaces
set autoindent " Allows indenting to happen automatically
" UI configuration
set number " Show line numbers
set ruler " Show line and column numbers in status bar
set cursorline " Highlight current line
set wildmenu " Visual autocomplete for command menu
set showmatch " Highlight matching [{()}]
set showcmd " shows the cmd in the bottom next to the ruler
" Searching
set incsearch " Search as characters are entered
set hlsearch " Highlight matches
" Clear search with Space + w
map <S-w> :let @/ = ""<CR>
" Key Mapings
set pastetoggle=<F3>
" Autoload the python skeleton
if has("autocmd")
augroup templates
autocmd BufNewFile *.py :r ~/.vim/templates/skeleton.py
augroup END
endif
" Wrap git commit massages at 72 characters
au FileType gitcommit setlocal tw=72