Jump between projects in Neovim
Read OriginalThis article presents a practical solution for quickly switching between projects in Neovim. The author provides a Lua script that saves and restores sessions based on the current working directory, using Neovim's built-in session management. The script includes functions to save, restore, and list sessions, and integrates with the Snacks picker for a seamless workflow. While acknowledging trade-offs like lingering LSP servers and unscoped jumplists, the author offers a simple, hackable approach for those who prefer minimal plugins. The article includes code snippets and a demo video, making it useful for Neovim users seeking efficient project navigation.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser