Recursive tab Full file names: edit in VIM

I found a .vimrc configuration that allowed me to simply print

:e <<characters_in_filename>> 

and then the tabpath will expand to :e full_pathor show me a list of options if there are similar names in my current path.

Does anyone know how to do this?

Note: I am leaving FuzzyFileFinder, Peepopen and CommandT, it really bothered me.

It is very similar to the functionality described in this google groups thread

+3
source share
2 answers

As ZyX said, it looks like you want find.

set wildmenu
set wildmode=longest:full
set path+=./**

:find so<Tab>, , so, ( pwd). (<Tab> wildchar.)

:

set wildmode=list:longest

path, .

set path+=~/code/**

, :

:edit **/so<Tab>

. :help {file} **, . :help starstar-wildcard.

+2

, wildmenu :find.

0

Source: https://habr.com/ru/post/1760010/


All Articles