-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): add ProjectMgr plugin (#372)
* feat(utility): added ProjectMgr plugin wip deleted sessionvim * fix(project): Use VeryLazy instead of lazy = false in ProjectMgr conf
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# projectmgr.nvim | ||
|
||
Quickly switch between projects and automate startup tasks. | ||
|
||
**Repository:** <https://github.com/charludo/projectmgr.nvim> | ||
|
||
### 🦑 Usage with `telescope.nvim` | ||
|
||
`:ProjectMgr` (or <leader>P) toggles a telescope picker with your projects. The telescope preview displays information about your project | ||
and its current git state. | ||
The following actions and keybinds are available: | ||
|
||
| Key | Action | | ||
| :---------------- | :------------------------------------------------------------------------------------------------- | | ||
| `<CR>` | Open the project under your cursor | | ||
| `<C-a>` | Add a project. You will be asked for a name, a path, and optionally startup and shutdown commands. | | ||
| `<C-d>` / `<C-x>` | Delete project under your cursor | | ||
| `<C-e>` / `<C-u>` | Edit the project under your cursor | | ||
| `<C-q>` / `<ESC>` | Close the window without doing anything | | ||
| `<leader>P` | Open the ProjectMgr panel | | ||
|
||
### 🦑 Usage without `telescope.nvim` | ||
|
||
**projectmgr** comes with a fallback window in case you aren't using `telescope.nvim`. The same actions are available. | ||
The keybinds are slightly different: `<C-a>` is replaced by just `a`, `<C-q>` becomes just `q`, and so on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
"charludo/projectmgr.nvim", | ||
event = "VeryLazy", | ||
keys = { | ||
{ "<leader>P", "<cmd>ProjectMgr<cr>", desc = "Open ProjectMgr panel" }, | ||
}, | ||
} |