1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00
This commit is contained in:
amix
2017-04-01 14:29:02 +02:00
parent 5f990400c2
commit c4fbfe8aa8
20 changed files with 993 additions and 577 deletions

View File

@ -0,0 +1,9 @@
if exists("g:ack_autofold_results") && g:ack_autofold_results
setlocal foldlevel=0
setlocal foldmethod=expr
setlocal foldexpr=matchstr(getline(v:lnum),'^[^\|]\\+')==#matchstr(getline(v:lnum+1),'^[^\|]\\+')?1:'<1'
setlocal foldenable
setlocal foldclose=all
setlocal foldopen=all
nnoremap <buffer> j jzz
endif