possession.nvim
neovim-session-manager
possession.nvim | neovim-session-manager | |
---|---|---|
7 | 14 | |
316 | 467 | |
- | - | |
6.5 | 5.6 | |
22 days ago | 4 days ago | |
Lua | Lua | |
MIT License | GNU General Public License v3.0 only |
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.
possession.nvim
-
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.
neovim-session-manager
-
Sessions, how do you guys do it?
I use neovim-session-manager, for my needs, works pretty well! :)
-
Question about neovim-session-manager
I have a question about https://github.com/Shatur/neovim-session-manager How do I make it so the session doesn't autoload, but it still autosaves?
-
Noobie Needs a Nudge
Something that is a bit more advanced, which I'll just throw out there to let you know exists, is sessions. It basically saves all the currently open buffers, tabs, panes, and how they're set up so you can return to them later. You can use them without plugins and open, load, and save them manually, or you can use a session manager (I personally use Neovim-session-manager). That way if you're working on a project for class X, you can save the session, close Neovim or open another session to work on class Y, and you can return to that session whenever you want.
-
per project session saving
Personally I use neovim-session-manager for this (https://github.com/Shatur/neovim-session-manager) and haven't had any complaints with it so far.
-
How to manage projects efficiently in neovim using telescope
I use AstroNvim which utilizes https://github.com/Shatur/neovim-session-manager to jump between “projects”. You can then save a “project” and find/go to previously saved “projects” and it will cd for you.
-
Hello 👋 First Post here! Any alternatives to VSCode's workspace in Neovim?
Shatur/neovim-session-manager: A simple wrapper around :mksession.
-
olddirs.nvim: oldfiles, but for directories
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.
-
Which, in your opinion, is the best session management plugin?
You could take a look at this one: https://github.com/Shatur/neovim-session-manager
-
Neovim sessions, restore only buffers
Have you tried neovim-session-manager?
-
Restart neovim from neovim
You can use a session manager so it would be easy to just quit and reload the last session, at least, this is what I'm doing.
What are some alternatives?
vim-obsession - obsession.vim: continuously updated session files
auto-session - A small automated session manager for Neovim
projectlaunch.nvim - Neovim plugin for launching commands in your projects
project.nvim - The superior project management solution for neovim.
nvim-luadev - REPL/debug console for nvim lua plugins
projectile - Project Interaction Library for Emacs
memento.nvim - A NeoVim plugin which remembers where you've been
telescope-project.nvim
vim-prosession - Handle vim sessions like a pro
persistence.nvim - 💾 Simple session management for Neovim
vim-session - Extended session management for Vim (:mksession on steroids)
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]