[ADD][VIM] FastFold plugin
This commit is contained in:
parent
30ea1eed72
commit
cae382e0b4
11
vim/.vimrc
11
vim/.vimrc
|
@ -103,6 +103,8 @@ Plug 'jeffkreeftmeijer/vim-numbertoggle'
|
||||||
Plug 'tpope/vim-vinegar'
|
Plug 'tpope/vim-vinegar'
|
||||||
" Better quick-fix window
|
" Better quick-fix window
|
||||||
Plug 'romainl/vim-qf'
|
Plug 'romainl/vim-qf'
|
||||||
|
" Better folding
|
||||||
|
Plug 'Konfekt/FastFold'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Mappings {{{
|
" Mappings {{{
|
||||||
|
@ -329,6 +331,15 @@ let g:ale_rust_cargo_check_examples=1
|
||||||
let g:ale_rust_cargo_use_clippy=executable('cargo-clippy')
|
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 {{{
|
" Mappings {{{
|
||||||
|
|
Loading…
Reference in a new issue