While I am editing a file in Vim, I need to see other available files to edit within the same project. Are there any project management features for Vim (GVim actually, if it makes any difference), either natively or in plugin form?
I'm not looking for anything extravagant, just something which will keep my files under one project name, and some sort of buffer which will display what files go under what project. You know what I mean, you see it in every IDE.
Using windows. Ctrl-W w to switch between open windows, and Ctrl-W h (or j or k or l ) to navigate through open windows. Ctrl-W c to close the current window, and Ctrl-W o to close all windows except the current one. Starting vim with a -o or -O flag opens each file in its own split.
You can open multiple files at the start of the Vim editing session from the command line, or at any time from inside the Vim editing session.
After starting vim with a list of files, you can move to the next file by entering :next or :n for short. :wnext is short for write current changes and then move to next file; :wn is an abbreviation for :wnext .
In normal mode, type :e then press Space and Ctrl-D. That will list file names in the current directory.
NERDTree with bookmarks does the job for me. It's popular and has been updated recently, whereas Project hasn't been updated in a few years.
Commands
:Bookmark proj1 " to bookmark a directory :NERDTree proj1 " opens NERDTree with bookmarked directory set as tree root
Even has handy filesystem commands for creating/deleting files/directories etc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With