Introducing nvim_url! A macOS URL handler for nvim:// URLs that intelligently opens files in existing Neovim instances running in kitty terminal windows.
Its features include:
- Smart Instance Selection: Automatically finds the best Neovim instance to
open files in, based on matching current working directories - Fallback Strategy: If no matching Neovim instance exists, opens a new tab
in an existing kitty terminal, or launches a new kitty instance as a last
resort - Line Number Support: Opens files at specific line numbers using the
nvim://file/path/to/file.txt:42syntax - URL Decoding: Properly handles URL-encoded paths
- Tilde Expansion: Supports
~for home directory paths
For now, we only support kitty and there is not fallback at all, but PRs for other terminals or multiplexers are more than welcome!
Full Changelog: v0.0.0...v0.1.0