how to make vim's auto-complete behave like bash's default auto-complete?
5,728
Add this to your .vimrc
:
set wildmenu
set wildmode=list:longest
Related videos on Youtube
Comments
-
hasen almost 2 years
When you type :e
some/path/file<Tab>
if there are several matches, vim just picks the first one and you have to cycle through the rest of them with the Tab key. (pretty much like the behavior of the Windows CLI).How do I make it behave like bash where it only completes until there's ambiguity?
EDIT: updated question for a bit more clarity.
-
Admin almost 9 years
-
-
hasen almost 15 yearsI know ... that's not the question
-
user138727 about 12 yearsI just signed up to superuser and answered questions so that I could get enough reputation to upvote your answer. Thankyou.