From ff406e34bf597a8eea6470ce6b2355673937cd6a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 17 Aug 2015 18:03:37 +0900 Subject: [PATCH] Use shortened path name of current working directory as the prompt --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 1ae2edb..f9870f8 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -118,7 +118,7 @@ function! s:files(dir, bang) let args.dir = dir let args.options .= ' --prompt '.shellescape(dir) else - let args.options .= ' --prompt "./"' + let args.options .= ' --prompt '.shellescape(pathshorten(getcwd())).'/' endif call s:fzf(args, a:bang)