An automated session manager for Neovim that saves and restores your open files and windows.
AutoSession is a Neovim plugin that automatically saves and restores your editing sessions. It solves the problem of losing your workspace by reopening all buffers, windows, and layout exactly as you left them, making it feel like you never closed the editor.
Neovim users who work across multiple projects or directories and want persistent workspaces without manual session management.
Developers choose AutoSession for its hands-off automation, deep integration with Neovim's ecosystem, and extensive customization options through hooks and picker support.
A small automated session manager for Neovim
Automatically saves on exit and restores on startup based on working directory, requiring no manual commands for basic use, as highlighted in the 'How it works' section.
Seamlessly integrates with popular Neovim pickers like Telescope and Fzf-Lua for browsing and loading sessions, with automatic detection and customization options.
Supports separate sessions per git branch and can auto-restore on branch changes, ideal for multi-branch workflows as shown in the Git section.
Offers pre/post hooks for saving, restoring, and deleting sessions, allowing users to execute commands or Lua functions, such as saving DAP breakpoints.
With dozens of options and the need to set sessionoptions correctly, setup can be overwhelming; the README admits errors in config can disable auto-saving.
Restoration may fail silently or disable features if config has issues, and the plugin requires Neovim >=0.10, limiting compatibility.
Features like cwd_change_handling automatically clear all buffers on directory changes, which can be jarring and might not suit all workflows.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.