auto-session
A small automated session manager for Neovim (by rmagatti)
project.nvim
The superior project management solution for neovim. (by ahmedkhalf)
auto-session | project.nvim | |
---|---|---|
32 | 28 | |
1,031 | 1,218 | |
- | - | |
6.9 | 0.0 | |
20 days ago | 15 days ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
auto-session
Posts with mentions or reviews of auto-session.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-10.
-
If statement for closing alpha.nvim window only if it's open on session save
The plugins are: https://github.com/goolord/alpha-nvim and https://github.com/rmagatti/auto-session
-
Auto-Session Removes modified buffers
I use auto-session for session management and session-lens telescope extension for switching the sessions. When I switch to a different session, auto-session clears all buffers from my current session, including the modified ones, without warning. I'm wondering if there are any ways to prevent losing my changes. For instance, can I save the modified buffers in the session and load them on session restore, or configure auto-session to give me a warning before switching to a new session if there are unsaved changes? Alternatively, is there a way to use Telescope to display a list of recently modified buffers, so that I can review them before switching sessions and take appropriate action?
-
How to use neovim as a server?
buffers: I open and close nvim instances all day long, using https://github.com/rmagatti/auto-session (or one of the many other session management plugins), it saves my buffers on a per git branch basis, so I lose nothing. nvim opens in less than a second, so this is no burden at all.
-
Has anyone had nvim-cmp stop working after a while?
Yes, I use rmagatti/auto-session with some gnarly hacks to save a subset of window options, a per-session colorscheme, and some other wacky stuff so it stays 99.9% the same between sessions.
- is there is a session manager plugin ?
-
How to get Nvim to remember last open buffers, splits and cursor position
The correct one is : auto-session (I edited the mistake in the message above)
-
remember-me: A plugin that (sort of) handles your vim sessions.
auto-session ?
-
Opening neovim lua config files changes pwd to the lua subfolder
I'm also using auto-session and nvim-tree which can both interact with the session.
-
Which file browser do you use ?
Finally, to save sessions and move through them, check: auto-session
-
Remember open buffers per project?
Yes, for this purpose, I'm using rmagatti/auto-session
project.nvim
Posts with mentions or reviews of project.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-05.
-
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.
What are some alternatives?
When comparing auto-session and project.nvim you can also consider the following projects:
neovim-session-manager - A simple wrapper around :mksession.
vim-rooter - Changes Vim working directory to project root.
tabby.nvim - A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
nvim-reload - Plugin to easily reload your Neovim config
telescope-project.nvim
git-worktree.nvim
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
bracey.vim - live edit html, css, and javascript in vim
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
projectile - Project Interaction Library for Emacs
auto-session vs neovim-session-manager
project.nvim vs vim-rooter
auto-session vs tabby.nvim
project.nvim vs neovim-session-manager
auto-session vs nvim-reload
project.nvim vs telescope-project.nvim
auto-session vs git-worktree.nvim
project.nvim vs mini.nvim
auto-session vs bracey.vim
project.nvim vs lsp-zero.nvim
auto-session vs telescope-project.nvim
project.nvim vs projectile