vim-session
Extended session management for Vim (:mksession on steroids) (by xolox)
auto-session
A small automated session manager for Neovim (by rmagatti)
vim-session | auto-session | |
---|---|---|
5 | 32 | |
964 | 1,031 | |
- | - | |
0.0 | 6.9 | |
almost 2 years ago | 18 days ago | |
VimL | Lua | |
- | 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.
vim-session
Posts with mentions or reviews of vim-session.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-26.
-
Vim After 15 Years
https://github.com/xolox/vim-session
I actually have in normal mode ,ss for save session and ,so for opening them. Central location of session dirs and that's it. Save session saves everything from files open, positions, tabs, you name it.
-
Which, in your opinion, is the best session management plugin?
I'm looking to switch from vim-session to a Lua based session management plugin (i.e. :mksession wrapper). In awesome-neovim it looks like there are a couple of alternatives. I have relatively simple needs: I want a command for manually creating a new session, and automatic saving of an opened sesion when I quit Neovim. Bonus points for a built-in Telescope session picker, but I can always use (telescope_sessions_picker.nvim) otherwise. Do you guys have any advice?
-
Can you isolate buffers to a specific tab?
You can use sessions to switch between different projects. They store your tabs, buffers, etc. Check out :help mksession. I personally use vim-session which is a wrapper around mksession which allows you to use it more lazily.
-
How to handle working with multiple directories?
Check out :help :mksession. There's also a great plugin called vim-session that is a wrapper around :mksession making it easier to use, that adds commands like :SaveSession and :OpenSession that you can tab-complete to choose between all your saved sessions.
-
TIL - what is your most recent vim discovery?
I started seriously using sessions a couple of months ago and it's awesome. Although the built in :mksession works I like to use vim-session which is a wrapper for :mksession that adds stuff like auto saving sessions on exit etc which I love.
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