Add fold method
This commit is contained in:
parent
d22d30263f
commit
aefa82b24c
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,6 @@ set encoding=utf-8
|
||||||
|
|
||||||
" replace vertical split pipe character with space
|
" replace vertical split pipe character with space
|
||||||
set fillchars+=vert:\
|
set fillchars+=vert:\
|
||||||
|
|
||||||
set splitright
|
set splitright
|
||||||
set splitbelow
|
set splitbelow
|
||||||
|
|
||||||
|
|
@ -21,6 +20,9 @@ set hidden
|
||||||
autocmd Filetype python,bash,sh,java,php,json setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
autocmd Filetype python,bash,sh,java,php,json setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
||||||
autocmd Filetype css,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
|
autocmd Filetype css,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
|
||||||
|
|
||||||
|
" fold indents
|
||||||
|
set foldmethod=indent
|
||||||
|
|
||||||
" search down into subfolders
|
" search down into subfolders
|
||||||
" provides tab-completion for all file-related tasks
|
" provides tab-completion for all file-related tasks
|
||||||
set path+=**
|
set path+=**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue