Skip to content

Commit

Permalink
"fuzzy-finders.vim": Add some documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendart committed Dec 9, 2024
1 parent 4decfd5 commit 1059851
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vim/plugin/fuzzy-finders.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
" Fuzzy finder wrappers.
"
" See the "fuzzy-*" scripts in "$TOOLBOX_ROOT/bin" for more information.
"
" This file was written by Damien Dart, <[email protected]>. This is
" free and unencumbered software released into the public domain. For
" more information, please refer to the accompanying "UNLICENCE" file.
Expand Down Expand Up @@ -185,6 +189,9 @@ function! s:ToQuickfix(line)
\ }
endfunction

" Hide unneccesary Vim chrome when displaying fuzzy finders in a split
" window to make it look a little tidier. This is based on
" <https://github.com/junegunn/fzf/blob/master/README-VIM.md#hide-statusline>.
autocmd FileType fuzzyfinder let b:laststatus = &laststatus
\| set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set showmode ruler
Expand Down

0 comments on commit 1059851

Please sign in to comment.