commit c2f4e7999e493a8246afcf1c684253c5e8c6b0dd
parent e4ead5c73aef71ee4613bae058ceac58d7cb20e8
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 6 Sep 2022 13:02:50 +0200
vim: fzf function for folds
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -331,6 +331,7 @@ nnoremap <expr> <leader><c-f>. ":Files " .. expand("%:h") .. "<CR>"
nnoremap <leader>B :Buffers<CR>
nnoremap <leader>G :Lines<CR>
nnoremap <leader>W :BLines<CR>
+nnoremap <expr> <leader>Z ':BLines '..&foldmarker->split(',')[0]..'<CR>'
nnoremap <leader>? :Helptags<CR>
nnoremap <leader>T :Tags<CR>
nnoremap <leader>/ :Ag<CR>