vim-obsession
possession.nvim
vim-obsession | possession.nvim | |
---|---|---|
19 | 7 | |
1,679 | 311 | |
- | - | |
0.0 | 6.5 | |
over 1 year ago | 11 days ago | |
Vim Script | Lua | |
- | 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.
vim-obsession
-
5 Features Neovim & Vim Are Still Missing: Wishing For A Better Future
You must be talkng about pair programming, because that's the only situation where any of this stuff would actually matter. I haven't tried it out, but one possible solution is to just use a shared session file. You can use something like https://github.com/tpope/vim-obsession to keep it updated, and then you can decide on some heuristic to reload the session file (like on a timer, or in an autocommand).
-
is there is a session manager plugin ?
obsssion
-
Do we have any existing plugins to restore a tabpage?
If you use Tim Pope's obsession, you can disable it right after closing your tab, then re-open your session. The tab you closed will still be here.
-
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.
- Persisting untitled buffers across restarts/crashes
-
Do you use the mksession command? Try out vsm!
Nice work, I may have to try this out. Currently I rely on vim-obsession and a bash function to open vim with a session file matching the name of the directory I'm in.
- Here's a question
-
Which, in your opinion, is the best session management plugin?
https://github.com/tpope/vim-obsession i like this one
-
What’s the best start up screen written in Lua?
Instead of a start screen, I prefer vim-obsession, Telescope, and which-key.nvim.
-
how to resurrect a nvim session silently?
You might want to take a look at tpope’s obsession plugin https://github.com/tpope/vim-obsession
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.
What are some alternatives?
vim-awesome - Awesome Vim plugins from across the universe
projectlaunch.nvim - Neovim plugin for launching commands in your projects
vim-maximizer - Maximizes and restores the current window in Vim.
nvim-luadev - REPL/debug console for nvim lua plugins
BBEdit-stuff - The scripts and text filters I use with BBEdit, my favourite editor
memento.nvim - A NeoVim plugin which remembers where you've been
vim-snippets - vim-snipmate default snippets (Previously snipmate-snippets)
vim-prosession - Handle vim sessions like a pro
vim-startify - :link: The fancy start screen for Vim.
vim-session - Extended session management for Vim (:mksession on steroids)
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
persisted.nvim - 💾 Simple session management for Neovim with git branching, autoloading and Telescope support