auto-session
A small automated session manager for Neovim (by rmagatti)
possession.nvim
Flexible session management for Neovim. (by jedrzejboczar)
auto-session | possession.nvim | |
---|---|---|
32 | 7 | |
1,031 | 311 | |
- | - | |
6.9 | 6.5 | |
19 days ago | 10 days ago | |
Lua | Lua | |
MIT License | MIT License |
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
possession.nvim
Posts with mentions or reviews of possession.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-10.
-
Do you guys also feel a higher cognitive complexity to grasp basic lua plugin usage ?
Anyway I might add that in possession.nvim I took the approach of adding commands as I also feel that in many cases commands are more discoverable. On the other hand I don't like default keybindings as they often collide with my existing ones, I prefer setting them myself. Taking your example with nvim-possession: your config would look almost the same with commands (e.g. vim.keymap.set('n', 'sl', 'PossessionList')) so there is actually not much added verbosity.
-
is there is a session manager plugin ?
possession.nvim
-
nvim-linefly - Just what the world needs, yet another Lua statusline plugin (I'm sorry)
These are the main characteristics of linefly: * Small size (564 lines of Lua) * Very fast startup (almost as fast as the stock Neovim statusline) * Simple tab support (workspace tabs only, not buffer tabs) * Winbar support (works well in combination with global statusline) * Git branch detection * Git status via Gitsigns * Diagnostic status * vim-obsession and possession.nvim session support * Minimal jank as mode changes or write-status or line number changes; I don't like it when the filename moves one or two characters left or right when there are state changes. Not here. * Direct colorscheme support for these themes: moonfly, nightfly (both my own themes) along with: catppuccin, dracula, edge, embark, everforest, gruvbox,gruvbox-material, kanagawa, nightfox, sonokai and tokyonight. All other themes will use best-guess-fallback colors derived from the theme in effect.
-
nvim-possession: a simple and minimal session manager
Nice plugin! There is already a session manager called possession.nvim though.
-
Is it possible to store the current colorscheme into a session?
I use a session manager known as possession. Possession lets me saves the session data in a json file and allows me to save custom data as well. It also provides hooks to add the custom data. A snippet like this will let me save the colorscheme for every session.
-
Which, in your opinion, is the best session management plugin?
A bit less known than some of the others mentioned here, but I quite like possession.nvim. Pretty simple to use with nice and easy hooks using lua functions (before/after save and before/after load).
-
possession.nvim: flexible & extensible session management
possession.nvim is yet another session management plugin. Main goal was to have more extensibility with a more Lua-friendly API. This could previously be done by storing Vim variables in the session file, but this would be tedious. possession.nvim achieves this by storing session data in JSON and providing user hooks that can store arbitrary data in the file and later use it when loading session.
What are some alternatives?
When comparing auto-session and possession.nvim you can also consider the following projects:
neovim-session-manager - A simple wrapper around :mksession.
vim-obsession - obsession.vim: continuously updated session files
tabby.nvim - A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
projectlaunch.nvim - Neovim plugin for launching commands in your projects
nvim-reload - Plugin to easily reload your Neovim config
nvim-luadev - REPL/debug console for nvim lua plugins
git-worktree.nvim
memento.nvim - A NeoVim plugin which remembers where you've been
bracey.vim - live edit html, css, and javascript in vim
vim-prosession - Handle vim sessions like a pro
telescope-project.nvim
vim-session - Extended session management for Vim (:mksession on steroids)
auto-session vs neovim-session-manager
possession.nvim vs vim-obsession
auto-session vs tabby.nvim
possession.nvim vs projectlaunch.nvim
auto-session vs nvim-reload
possession.nvim vs nvim-luadev
auto-session vs git-worktree.nvim
possession.nvim vs memento.nvim
auto-session vs bracey.vim
possession.nvim vs vim-prosession
auto-session vs telescope-project.nvim
possession.nvim vs vim-session