mydot/vim/.vimrc

35 lines
691 B
VimL
Raw Normal View History

2023-07-11 10:41:59 +03:00
" Common.
set encoding=utf-8
set fileencoding=utf-8
set nobackup
set noswapfile
" Tabs.
2024-03-29 10:24:25 +03:00
" set expandtab
2023-07-11 10:41:59 +03:00
set tabstop=2
set shiftwidth=2
" Lines.
set number
set relativenumber
set cursorline
2024-03-29 10:24:25 +03:00
set colorcolumn=80
2023-07-11 10:41:59 +03:00
2024-03-29 10:24:25 +03:00
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
2023-07-11 10:41:59 +03:00
" Colors.
syntax on
2024-03-29 10:24:25 +03:00
colorscheme slate