Add filetype plugin and plaintext width
This commit is contained in:
parent
328ca86aac
commit
a98ed638f4
1 changed files with 2 additions and 3 deletions
|
@ -13,14 +13,13 @@ set hlsearch
|
||||||
set incsearch
|
set incsearch
|
||||||
set lazyredraw
|
set lazyredraw
|
||||||
set directory=~/.vim/tmp
|
set directory=~/.vim/tmp
|
||||||
filetype plugin on
|
|
||||||
|
|
||||||
" indentation
|
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
filetype indent on
|
|
||||||
|
|
||||||
" custom file types
|
" custom file types
|
||||||
|
filetype plugin indent on
|
||||||
autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2
|
autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2
|
||||||
|
autocmd FileType markdown,plaintex,rst,tex,text setlocal textwidth=79
|
||||||
|
|
Loading…
Add table
Reference in a new issue