persistence.nvim
auto-session
persistence.nvim | auto-session | |
---|---|---|
8 | 32 | |
536 | 1,046 | |
- | - | |
5.8 | 7.1 | |
2 months ago | 24 days ago | |
Lua | Lua | |
Apache License 2.0 | 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.
persistence.nvim
- per project session saving
-
People who migrated from vscode
persistence.nvim for using session management which is useful
-
is there is a session manager plugin ?
i use persistence.nvim plugin, and i map the commands on my dashboard so i can open my last session
-
How do you handle project specific configuration?
I've been using vim sessions for a while now. Sessions can have their own configuration files and that's what I use for projects. For this to be actually convenient you'll need plugin like persistence.nvim to handle the sessions themselves (or make your own workflow).
-
Guide: Structuring Lua plugins
I like the idea of a "config" module. Plugins like persistence and mason.nvim have it, they allow you to set variables without calling the main module.
-
what are the most underrated plugins in your view?
persistence.nvim: Small session manager. I use some of its functions to also manage project local configs. It is because of this plugin I can use language servers the way I want.
-
which session manager for nvim
persistence.nvim * Automatically save active session to a configurable directory * API to load most recent or current session based on cwd * No direct support for a telescope picker but could probably be setup with vim.ui.select()
-
alpha-nvim: lua powered startup screen
yeah, I was planning on shimming this functionality out to another plugin. sessions have little to do with a startup gui imo. i mention in the docs using something like https://github.com/folke/persistence.nvim
auto-session
-
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
What are some alternatives?
neovim-session-manager - A simple wrapper around :mksession.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
tabby.nvim - A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
harpoon
nvim-reload - Plugin to easily reload your Neovim config
alpha-nvim - a lua powered greeter like vim-startify / dashboard-nvim
git-worktree.nvim
persisted.nvim - 💾 Simple session management for Neovim with git branching, autoloading and Telescope support
bracey.vim - live edit html, css, and javascript in vim
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
telescope-project.nvim