update vim indention and concealing

This commit is contained in:
daniel
2023-04-07 12:53:38 +02:00
parent 94a192b651
commit 1551c7e572

View File

@@ -1,12 +1,20 @@
call plug#begin()
" ** style **
Plug 'vim-airline/vim-airline'
Plug 'morhetz/gruvbox'
"Plug 'Yggdroot/indentLine'
Plug 'nathanaelkane/vim-indent-guides'
" ** features **
Plug 'godlygeek/tabular'
Plug 'preservim/nerdcommenter'
" ** syntax **
Plug 'elzr/vim-json'
Plug 'lervag/vimtex'
Plug 'ibab/vim-snakemake'
Plug 'Yggdroot/indentLine'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'morhetz/gruvbox'
Plug 'preservim/nerdcommenter'
call plug#end()
" Always show statusline
@@ -18,11 +26,17 @@ set t_Co=256
" show linenumber
set number
let g:vim_markdown_folding_disabled = 1
syntax on
set softtabstop=4
filetype plugin indent on
" show tabs with 4 spaces width
set tabstop=4
" use 4 space to indent with '>'
set shiftwidth=4
" insert 4 spaces instead of tab
set expandtab
set colorcolumn=80,100,120
@@ -32,3 +46,13 @@ set background=dark
" nerdcommenter
filetype plugin on
" use conceals, but not on inserted lines
set conceallevel=2
set concealcursor=nc
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
set cursorline