From 988b1788e5adb929be7c59ff75788a97f38a9a8c Mon Sep 17 00:00:00 2001 From: Mikko Lehto Date: Sun, 14 Oct 2018 10:49:18 +0300 Subject: [PATCH] vimrc: complete files like a shell --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/vimrc b/vim/vimrc index c98e1a1..b05f585 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -23,6 +23,7 @@ if has('gui_running') set list listchars=tab:>-,nbsp:.,trail:.,extends:>,precedes:<,eol:\| let &showbreak = '^' else + set wildmode=list:longest " complete files like a shell set showbreak=+++ set list listchars=tab:▸\ ,nbsp:∙,trail:∙,extends:▶,precedes:◀,eol:¬ "let &showbreak='↳'