-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
52 lines (33 loc) · 1011 Bytes
/
.vimrc
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
49
50
51
"pathogen plugin manager
execute pathogen#infect()
"----------Settings-----------
syntax on "Syntax highlight on
syntax enable
colorscheme dracula
" show line numbers
set number
" set tabs to have 4 spaces
set ts=4
" indent when moving to the next line while writing code
set autoindent
" expand tabs into spaces
set expandtab
" when using the >> or << commands, shift lines by 4 spaces
set shiftwidth=4
" show a visual line under the cursor's current line
set cursorline
" show the matching part of the pair for [] {} and ()
set showmatch
" enable all Python syntax highlighting features
let python_highlight_all = 1
" set the system clipboard
set clipboard=unnamed
"---------Colors------------
hi vertsplit ctermfg=256 ctermbg=256 "change color of separator
hi StatusLine ctermfg=256 ctermbg=140 "change color of statusline
"----------Auto-commmands----
"Automatically source the .vimrc file on save.
augroup autosourcing
autocmd!
autocmd BufWritePost .vimrc source %
augroup END