how to cmap <tab> like the tab in the termimal?

0

when use :e to open files, how to cmap the "Tab" to the function which is similar to the tab function in the terminal? (like when you press tab, it will show all matching files and it will pick the if there is only one file matching)

Eric

Posted 2015-07-06T19:23:20.650

Reputation: 1

Answers

0

This was asked in How do I make vim do normal (bash like) tab completion for file names?, and the best answer, by @michael, uses these settings:

set wildmode=longest,list,full
set wildmenu

Thomas Dickey

Posted 2015-07-06T19:23:20.650

Reputation: 6 891