aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-05-10 23:25:04 +0200
committerTeddy Wing2019-05-10 23:27:24 +0200
commit8a24622c84c884df3ca665ab8674565de567a390 (patch)
tree3c76b45c294030e2add3f001682650dbf54cf2b4
parent5ca15b0fe76f5a30932afaaafed5bd27ca09da43 (diff)
downloaddotvim-8a24622c84c884df3ca665ab8674565de567a390.tar.bz2
vimrc: Include hidden files in the Pick list
So that hidden project files can be opened quickly like the rest.
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 7234191..8bfd146 100644
--- a/vimrc
+++ b/vimrc
@@ -413,6 +413,7 @@
"
" 2019.05.10:
" * Use long command line options to `ag` in `g:pick_command`.
+" * Include hidden files in `g:pick_command`.
"
@@ -557,7 +558,7 @@ endif
" =======
" pick
-let g:pick_command = "ag --files-with-matches --all-types --path-to-ignore './.agignore' -g ''"
+let g:pick_command = "ag --files-with-matches --all-types --hidden --path-to-ignore './.agignore' -g ''"
function! PickBufferListCommand()
let bufnrs = filter(range(1, bufnr("$")), 'buflisted(v:val)')