workspaces.nvim
project-settings.nvim
workspaces.nvim | project-settings.nvim | |
---|---|---|
11 | 5 | |
268 | 16 | |
- | - | |
4.8 | 0.0 | |
about 1 month ago | almost 2 years ago | |
Lua | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
workspaces.nvim
-
Rename tab
`:tcd` into that project's folder. I'm using workspaces.nvim to create aliases for my project's folders, so I can simply do `:WorkspacesOpen MyProject`
-
olddirs.nvim: oldfiles, but for directories
workspaces.nvim.
Sharing a lightweight plugin I wrote yesterday which provides some functions for accessing previously used current working directories. I know that this is similar to some other "workspace" / "project" plugins which already exist, so I've pasted the motivation section from the README. >I work in a large monorepo and change my working directory depending on what part of the codebase I'm looking at to give my LSP (gopls) a chance and to improve the usefulness of fuzzy finding files. I want to change the current working directory back to a previously used one without having to configure a "project" or "workspace" beforehand. This requirement is not satisfied (as far as I can tell) by existing similar plugins: > - project.nvim > - telescope-project.nvim > - workspaces.nvim. > - neovim-session-manager > olddirs.nvim is very lightweight and doesn't provide any niceties (out of the box) like some of the above plugins, it's literally just :oldfiles for directories. > \ I say "out of the box" since some features like the searching or browsing of files inside a previous directory can be implemented by adding actions to the olddirs.nvim Telescope picker.
- Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
-
Selecting specific folders in a monorepo
i use workspaces for that, https://github.com/natecraddock/workspaces.nvim
-
Comparision, project.nvim vs. telescope-project.nvim
I use https://github.com/natecraddock/workspaces.nvim and their compatible session manager. I have not tried the other two but workspaces works well and has done nice integrations (including telescope).
-
I didn't know before that having multiple Neovim instances is bad
I use only one neovim instance and with the plugin https://github.com/natecraddock/workspaces.nvim I change between repositories.
-
Which, in your opinion, is the best session management plugin?
I'm biased, but my favorite is a combination of workspaces.nvim and sessions.nvim (I created both). Both are extremely simple frameworks meant to be customized to your needs. Not for everyone, but if you are looking for something simple its worth giving a look.
- How do you handle multiple projects/workspaces with Neovim?
-
Manage project local settings for a language server with lsp-zero
workspaces.nvim
project-settings.nvim
-
I didn't know before that having multiple Neovim instances is bad
That command actually uses project-settings.nvim to setup all the things, not just lsp.
- Run Python venv from nvim
-
Some questions about Lua plugin development
If it helps, you can take a look at this little plugin I made: project-settings.nvim.
-
Using project-settings.nvim to call language servers
project-settings.nvim is a plugin I created to handle some unique scenarios I faced in a couple of projects. It allows you to reuse a lua function across multiple projects, and pass arguments to it using a json file. (I know one could just use an exrc file, but I don't like them).
-
How do y'all feel about handling project local settings using a json file?
Once again I found myself turning a piece of my config into a plugin. This time around it is the project local settings: project-settings.nvim
What are some alternatives?
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
nvim-config-local - Secure load local config files for neovim
sessions.nvim - a simple session manager plugin
editorconfig-vim - EditorConfig plugin for Vim
bufferline.nvim - A snazzy bufferline for Neovim
plugin-template.nvim - A template to create Neovim plugins written in Lua
neovim-session-manager - A simple wrapper around :mksession.
nvim - One editor to roll them all. (GotoDef FindRef Completion Snippet Format Lint Refactor Test Debug Repl Task)
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
penvim - Project's root directory and documents Indentation detector with project based config loader
Comment.nvim - :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
flow.nvim - A neovim plugin that lets you build custom commands to automate parts of your development workflow