From 2d8435f114476313db2ad3113c768de1f926b080 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 20 Sep 2015 01:38:03 +0900 Subject: [PATCH] [Commands] Match against the description as well --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 7aa6b4b..d03d02d 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -525,7 +525,7 @@ function! fzf#vim#commands(...) call s:fzf({ \ 'source': extend(extend(list[0:0], map(list[1:], 's:format_cmd(v:val)')), s:excmds()), \ 'sink': function('s:command_sink'), - \ 'options': '--ansi --tiebreak=index --header-lines 1 -x --prompt "Commands> " -n2 -d'.s:nbs}, a:000) + \ 'options': '--ansi --tiebreak=index --header-lines 1 -x --prompt "Commands> " -n2,3,2..3 -d'.s:nbs}, a:000) endfunction " ------------------------------------------------------------------