mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
update vim indention and concealing
This commit is contained in:
@@ -1,12 +1,20 @@
|
|||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
" ** style **
|
||||||
Plug 'vim-airline/vim-airline'
|
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 'lervag/vimtex'
|
||||||
Plug 'ibab/vim-snakemake'
|
Plug 'ibab/vim-snakemake'
|
||||||
Plug 'Yggdroot/indentLine'
|
|
||||||
Plug 'godlygeek/tabular'
|
|
||||||
Plug 'plasticboy/vim-markdown'
|
Plug 'plasticboy/vim-markdown'
|
||||||
Plug 'morhetz/gruvbox'
|
|
||||||
Plug 'preservim/nerdcommenter'
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Always show statusline
|
" Always show statusline
|
||||||
@@ -18,11 +26,17 @@ set t_Co=256
|
|||||||
" show linenumber
|
" show linenumber
|
||||||
set number
|
set number
|
||||||
|
|
||||||
|
|
||||||
let g:vim_markdown_folding_disabled = 1
|
let g:vim_markdown_folding_disabled = 1
|
||||||
|
|
||||||
syntax on
|
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
|
set colorcolumn=80,100,120
|
||||||
|
|
||||||
@@ -32,3 +46,13 @@ set background=dark
|
|||||||
|
|
||||||
" nerdcommenter
|
" nerdcommenter
|
||||||
filetype plugin on
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user