vim-session VS possession.nvim

Compare vim-session vs possession.nvim and see what are their differences.

vim-session

Extended session management for Vim (:mksession on steroids) (by xolox)

possession.nvim

Flexible session management for Neovim. (by jedrzejboczar)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vim-session possession.nvim
5 7
964 311
- -
0.0 6.5
almost 2 years ago 9 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.

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
    6 projects | news.ycombinator.com | 26 Oct 2022
    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?
    11 projects | /r/neovim | 9 Jul 2022
    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?
    2 projects | /r/vim | 23 Oct 2021
    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?
    3 projects | /r/neovim | 8 Aug 2021
    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?
    2 projects | /r/vim | 27 Jan 2021
    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.

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 ?
    5 projects | /r/neovim | 10 May 2023
    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 ?
    18 projects | /r/neovim | 17 Mar 2023
    possession.nvim
  • nvim-linefly - Just what the world needs, yet another Lua statusline plugin (I'm sorry)
    5 projects | /r/neovim | 19 Jan 2023
    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
    2 projects | /r/neovim | 12 Jan 2023
    Nice plugin! There is already a session manager called possession.nvim though.
  • Is it possible to store the current colorscheme into a session?
    1 project | /r/neovim | 5 Jan 2023
    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?
    11 projects | /r/neovim | 9 Jul 2022
    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
    4 projects | /r/neovim | 1 Apr 2022
    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 vim-session and possession.nvim you can also consider the following projects:

vim-startify - :link: The fancy start screen for Vim.

vim-obsession - obsession.vim: continuously updated session files