project.nvim
projectile
project.nvim | projectile | |
---|---|---|
28 | 31 | |
1,398 | 4,006 | |
- | - | |
0.0 | 7.3 | |
4 months ago | 26 days ago | |
Lua | Emacs Lisp | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
project.nvim
-
What is the simple straight answer to create lsp workspace and add files to workspace in neovim ?
Here is what I have searched: 1. https://github.com/ahmedkhalf/project.nvim/tree/main : plug manage already exist projects, not create 2. https://neovim.io/doc/user/lsp.html : too complicated 3. https://www.youtube.com/watch?v=NL8D8EkphUw&ab_channel=JoseanMartinez : basic tutorial 4. https://www.reddit.com/r/neovim/comments/ysg4wb/lsp_action_on_multiple_files/ : Mentioned use quickfix, but seems too be a workaround. Not a nice solution.
-
Is there a way of setting a global variable when switching the project?
If someone is interested on this, there is an issue for a feature: https://github.com/ahmedkhalf/project.nvim/issues/73
-
Telescope: how to search project directory?
You can use one of the "rooter" plugins like this one to dynamically change your working directory: https://github.com/ahmedkhalf/project.nvim
-
R code chunks not showing using Nvim-R for R Markdown
https://github.com/ahmedkhalf/project.nvim I have never used this but it seems to involve defining "projects", and any time you enter a project, whatever settings you require (such as current working directory) will get set up for you.
-
How to manage projects efficiently in neovim using telescope
Not sure if this is what you are looking for, but projects.nvim automatically changes your pwd in nvim. If you then use telescope's find_files and to search in the pwd, you basically get project-scoped searches. https://github.com/ahmedkhalf/project.nvim
-
Smart current working directory
This works very well: https://github.com/ahmedkhalf/project.nvim
-
Nvim-tree opens the git root directory instead of the one passed as argument
Maybe you have ahmedkhalf/project.nvim setup. In this case, use `manual_mode` as indicated in the readme https://github.com/ahmedkhalf/project.nvim. It worked for me
-
Noob question about projects
Not sure what you mean by that. Perhaps your looking for a fuzzy finder. I use telescope for most of this. It can be used to find any file in your project and there's extensions for pulling up projects
-
olddirs.nvim: oldfiles, but for directories
project.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.
projectile
-
Fuzzy Finding with Emacs Instead of Fzf
Could you explain more about this setup? I'm not familiar with "projectile". Is this https://github.com/bbatsov/projectile the same thing you're referring to?
Sounds interesting. What I've done recently is open my vim in the folder that contains all the organization's repos (the ones I've cloned) and just run ripgrep inside vim to find examples or references to whatever I've seeking. Seems performant enough even without doing anything except letting ripgrep ignore git-ignored stuff (default behavior of ripgrep).
-
Emacs: Projectile - Multiple Projects
Sure. It sounds like it's working well enough. Here's a Github issue that may be of interest to you. Apparently you can get this behavior if there's a project marker file at a higher level.
-
Project-global building/running/etc
With projectile you can define custom "run", "compile", "test" commands per project. Also there are pre-defined commands for many known project types.
-
Two projects side by side?
Thanks for your detailed explanation, but no that is no that is not the question. This is projectile: https://github.com/bbatsov/projectile
-
Multi project management - perspective, persp-mode, tab-bar-mode, or...?
I am currently trying with perspective rather than persp-mode, as it segregates the buffer list as I like (#1 above). I've got projectile with persp-projectile, and that seems to give me what I need for project navigation (#2 probably, still not 100%). I get some help in my mode line for project focus (#3, partially).
- Projectile 2.7 has been released
- Projectile 2.7 is out!
- Release Projectile 2.6
- Projectile 2.6
- Projectile 2.6 released!
What are some alternatives?
vim-rooter - Changes Vim working directory to project root.
neovim-session-manager - A simple wrapper around :mksession.
treemacs
telescope-project.nvim
mini.nvim - Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
emacs-inspector - Inspection tool for Emacs Lisp objects.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
hydra - make Emacs bindings that stick around
telescope-frecency.nvim - A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
perspective-el - Perspectives for Emacs.