-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Saltaformajo edited this page Oct 14, 2023
·
6 revisions
Neovim project plugin simplifies project management by maintaining project history and providing quick access to saved sessions via Telescope. It runs on top of the Neovim Session Manager, which is needed to store all open tabs and buffers for each project.
The main configuration option is projects
. I suggest using this, adjust path as you prefer:
projects = {
"~/work/*",
"~/pets/*",
"~/.config/*",
},
This means your projects will have a path like /home/username/work/projectName
or /home/username/pets/projectName
. Also, you will have option to edit config files in .config/ProgramName
as a project called ProgramName
.
If you want to have a project inside the other project, for example ~/work/my-website/ansible
, you can add it too.
projects = {
-- ...
-- add "ansible" folders inside projects as separate projects
"~/work/*/ansible",
-- OR "ansible" only for "my-website" project
"~/work/my-website/ansible",
-- OR mask "my-website" to hide project name in the dotfiles
"~/work/my*ite/an*le",
},
- By commands from the nvim.
- From the terminal after cd into project
cd ~/work/project && nvim
. - From the terminal with project root path as argument
nvim ~/work/project
. -
nvim
without arguments from the $HOME directory will open your last project.