possession.nvim
workspaces.nvim
possession.nvim | workspaces.nvim | |
---|---|---|
7 | 11 | |
316 | 270 | |
- | - | |
6.5 | 4.8 | |
23 days ago | about 2 months ago | |
Lua | Lua | |
MIT License | 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.
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.
workspaces.nvim
-
Rename tab
`:tcd` into that project's folder. I'm using workspaces.nvim to create aliases for my project's folders, so I can simply do `:WorkspacesOpen MyProject`
-
olddirs.nvim: oldfiles, but for directories
workspaces.nvim.
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.
- Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
-
Selecting specific folders in a monorepo
i use workspaces for that, https://github.com/natecraddock/workspaces.nvim
-
Comparision, project.nvim vs. telescope-project.nvim
I use https://github.com/natecraddock/workspaces.nvim and their compatible session manager. I have not tried the other two but workspaces works well and has done nice integrations (including telescope).
-
I didn't know before that having multiple Neovim instances is bad
I use only one neovim instance and with the plugin https://github.com/natecraddock/workspaces.nvim I change between repositories.
-
Which, in your opinion, is the best session management plugin?
I'm biased, but my favorite is a combination of workspaces.nvim and sessions.nvim (I created both). Both are extremely simple frameworks meant to be customized to your needs. Not for everyone, but if you are looking for something simple its worth giving a look.
- How do you handle multiple projects/workspaces with Neovim?
-
Manage project local settings for a language server with lsp-zero
workspaces.nvim
What are some alternatives?
vim-obsession - obsession.vim: continuously updated session files
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
projectlaunch.nvim - Neovim plugin for launching commands in your projects
sessions.nvim - a simple session manager plugin
nvim-luadev - REPL/debug console for nvim lua plugins
bufferline.nvim - A snazzy bufferline for Neovim
memento.nvim - A NeoVim plugin which remembers where you've been
neovim-session-manager - A simple wrapper around :mksession.
vim-prosession - Handle vim sessions like a pro
project-settings.nvim - Manage project local settings using a json file.
vim-session - Extended session management for Vim (:mksession on steroids)
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config