Folding
This commit is contained in:
parent
76b96728c8
commit
226a91e5a6
1 changed files with 27 additions and 25 deletions
|
|
@ -5,6 +5,7 @@ Plug 'https://github.com/vim-airline/vim-airline'
|
||||||
Plug 'https://github.com/vim-airline/vim-airline-themes'
|
Plug 'https://github.com/vim-airline/vim-airline-themes'
|
||||||
Plug 'https://github.com/powerline/fonts'
|
Plug 'https://github.com/powerline/fonts'
|
||||||
Plug 'https://github.com/tpope/vim-fugitive'
|
Plug 'https://github.com/tpope/vim-fugitive'
|
||||||
|
Plug 'https://github.com/Yggdroot/indentLine'
|
||||||
|
|
||||||
"Indent automiatically depending on filetype
|
"Indent automiatically depending on filetype
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
|
@ -17,11 +18,12 @@ syntax enable
|
||||||
" Create the `tags` file (may need to install ctags first)
|
" Create the `tags` file (may need to install ctags first)
|
||||||
command! MakeTags !ctags -R .
|
command! MakeTags !ctags -R .
|
||||||
|
|
||||||
" Tab indentation
|
" 4 spaces instead of tabs indentation
|
||||||
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
|
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
|
||||||
|
|
||||||
"End IDE specific options
|
" Fold methods based on indents
|
||||||
"<-------------------------------------------------------------------------->
|
" zo to open folds, zc to close
|
||||||
|
set foldmethod=indent
|
||||||
|
|
||||||
" FINDING FILES
|
" FINDING FILES
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue