2017-03-31 13:54:00 +02:00
|
|
|
" enable syntax highlighting
|
|
|
|
syntax enable
|
|
|
|
|
|
|
|
" dark background
|
|
|
|
set background=dark
|
|
|
|
|
|
|
|
" show line numbers
|
2018-12-29 17:11:34 +01:00
|
|
|
set number
|
2018-12-29 13:35:54 +01:00
|
|
|
set relativenumber
|
2017-03-31 13:54:00 +02:00
|
|
|
|
|
|
|
" 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
|