I have large projects with many levels of folders. Some files are named the same and depending on the folder name their function vary. For example
/admin/action1.php
/action1.php
First one would refer to administrative tasks and second one would be accessed by users. Vim gets cluttered with tabs and buffers very quickly and its getting hard to move around. Pluigins I'm using are: NERDTree CtrlP MiniBuffExplorer
I'm using gVim for Windows and plugins like YouCompleteMe are not an option.
- NerdTree - is too clumsy to move around back and forth between folders on large projects
- CtrlP - you have to know what you're looking for by typing names all the time
- MiniBuffExplorer - have ridicculus amount of files, takes way to much space on screen and its impossible to find anything
- Vim-Session - Open Save tab/windows for project
As you can see on the picture there are way to many tabs to remember witch tab correspond to witch part of the code. MiniBuffExplorer isn't helping too much.
So my question is how would you go about working with large project in VIM to keep things organized preferably by their function or section of the code. Is there a clean way to do it? Is there a way to group buffers or tabs like:
Migrations
Seeds
Admin Controllers
Admin Views
Config
:bd
to close an open buffer, instead of:q
, because if I'm done with the file for now, I want it to go away. – Excreta