35 lines
691 B
VimL
35 lines
691 B
VimL
" Common.
|
|
set encoding=utf-8
|
|
set fileencoding=utf-8
|
|
set nobackup
|
|
set noswapfile
|
|
|
|
" Tabs.
|
|
" set expandtab
|
|
set tabstop=2
|
|
set shiftwidth=2
|
|
|
|
" Lines.
|
|
set number
|
|
set relativenumber
|
|
set cursorline
|
|
set colorcolumn=80
|
|
|
|
set list
|
|
set listchars=space:·,tab:‑→
|
|
" set listchars=space:·,tab:─→
|
|
" set listchars=space:·,tab:└→
|
|
" set listchars=space:◦,eol:$,tab:->,trail:~,extends:>,precedes:<
|
|
|
|
" Having longer updatetime (default is 4000 ms = 4s) leads to noticeable
|
|
" delays and poor user experience
|
|
set updatetime=300
|
|
|
|
" Always show the signcolumn, otherwise it would shift the text each time
|
|
" diagnostics appear/become resolved
|
|
set signcolumn=yes
|
|
|
|
" Colors.
|
|
syntax on
|
|
colorscheme slate
|