vim: Group all settings
This commit is contained in:
parent
d4abb0270f
commit
9a0cc253b0
1 changed files with 13 additions and 18 deletions
|
@ -5,26 +5,8 @@ syntax on
|
||||||
au FileType gitcommit highlight ColorColumn ctermbg=8
|
au FileType gitcommit highlight ColorColumn ctermbg=8
|
||||||
au FileType gitcommit setlocal colorcolumn=50,72
|
au FileType gitcommit setlocal colorcolumn=50,72
|
||||||
au FileType gitcommit setlocal textwidth=72
|
au FileType gitcommit setlocal textwidth=72
|
||||||
|
|
||||||
set complete+=kspell
|
|
||||||
au FileType gitcommit setlocal spell
|
au FileType gitcommit setlocal spell
|
||||||
|
|
||||||
" folding
|
|
||||||
set foldlevelstart=99 " Start unfolded
|
|
||||||
set foldmethod=indent
|
|
||||||
|
|
||||||
set noswapfile
|
|
||||||
set nowrap
|
|
||||||
set number relativenumber
|
|
||||||
|
|
||||||
" Automatically scroll
|
|
||||||
set scrolloff=10
|
|
||||||
|
|
||||||
set tabstop=2 softtabstop=2
|
|
||||||
set shiftwidth=2
|
|
||||||
set expandtab
|
|
||||||
set smartindent
|
|
||||||
|
|
||||||
" Plugins
|
" Plugins
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'arcticicestudio/nord-vim'
|
Plug 'arcticicestudio/nord-vim'
|
||||||
|
@ -43,6 +25,19 @@ Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
set complete+=kspell
|
||||||
|
set expandtab
|
||||||
|
set foldlevelstart=99 " Start unfolded
|
||||||
|
set foldmethod=indent
|
||||||
|
set noswapfile
|
||||||
|
set nowrap
|
||||||
|
set number relativenumber
|
||||||
|
set scrolloff=10 " Automatically scroll
|
||||||
|
set shiftwidth=2
|
||||||
|
set smartindent
|
||||||
|
set tabstop=2 softtabstop=2
|
||||||
|
set termguicolors
|
||||||
|
|
||||||
" Enable filetype plugins
|
" Enable filetype plugins
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue