Vim File Explorer with include directory -


i have been using vim's file explorer plugin can view files in directory , open them double clicking. worked fine when had of .h , .cpp in same directory. separated them. .cpp files in src/ directory , .h in include/ directory. when open vim, file explorer show 1 directory , can't access both .h , .cpp. how can make show files both directories? appreciated.

you can use tree style netrw plugin. allow browse subdirs of project's dir.

to switch can press "i" until shows directory tree (with branch on left). make permanent, can add

let g:netrw_liststyle= 3 

to .vimrc file.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -