Home » Questions » Computers [ Ask a new question ]

how to make vim's auto-complete behave like bash's default auto-complete?

how to make vim's auto-complete behave like bash's default auto-complete?

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).

Asked by: Guest | Views: 231
Total answers/comments: 1
bert [Entry]

"Add this to your .vimrc:

set wildmenu
set wildmode=list:longest"