Wild mode

When you open a file using ”:e filename”, and you want to use tab-completion for the filename, by default Vim cycles through the various filenames starting with that prefix. I don’t like this default behavior. For me, its much more efficient to just get a list of matching names in a mini-buffer and then I can just choose which one I intended. Happily, this is easily achieved by doing ”set wildmode=list:longest”. As always, refer to ”:help wildmode” for details.

Leave a Reply