From aefa82b24c1512bd9bc10210ea542124795600c8 Mon Sep 17 00:00:00 2001 From: Sonny Date: Tue, 20 Nov 2018 22:36:34 +0100 Subject: [PATCH] Add fold method --- vim/.vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 81421cd..84bed01 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -7,7 +7,6 @@ set encoding=utf-8 " replace vertical split pipe character with space set fillchars+=vert:\ - set splitright 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 css,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent +" fold indents +set foldmethod=indent + " search down into subfolders " provides tab-completion for all file-related tasks set path+=**