From cae382e0b4f459832fd6294dca27f448efc24d3a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 11 Oct 2019 17:16:43 +0200 Subject: [PATCH] [ADD][VIM] FastFold plugin --- vim/.vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 4b05824..fce86b8 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -103,6 +103,8 @@ Plug 'jeffkreeftmeijer/vim-numbertoggle' Plug 'tpope/vim-vinegar' " Better quick-fix window Plug 'romainl/vim-qf' +" Better folding +Plug 'Konfekt/FastFold' " }}} " Mappings {{{ @@ -329,6 +331,15 @@ let g:ale_rust_cargo_check_examples=1 let g:ale_rust_cargo_use_clippy=executable('cargo-clippy') " }}} " }}} + +" FastFold settings {{{ +""""""""""""""""""" +" Intercept all fold commands +let g:fastfold_fold_command_suffixes=[ + \ 'x', 'X', 'a', 'A', 'o', 'O', 'c', 'C', + \ 'r', 'R', 'm', 'M', 'i', 'n', 'N' + \ ] +" }}} " }}} " Mappings {{{