A Neovim plugin to quickly open associated files (like tests, views, or components) for the current buffer using configurable mappings.
other.nvim is a Neovim plugin that enables developers to swiftly navigate between related files in a project, such as opening a test, view, or model from a controller. It eliminates the need for fuzzy finders or file trees for common file associations by using configurable mappings, streamlining workflow in frameworks like Rails, Laravel, React, and others.
Neovim users working on projects with structured file relationships, particularly developers using frameworks like Angular, Rails, Laravel, React, Rust, or Elixir who frequently switch between associated files like controllers and views or components and tests.
Developers choose other.nvim for its speed and simplicity in navigating logically related files without context-switching overhead, offering pre-configured mappings for popular frameworks and flexible custom mapping options with regex or functions, plus a smart file picker for ambiguous matches.
Open alternative files for the current buffer
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Includes pre-configured mappings for Angular, Rails, Laravel, React, Rust, and others, allowing immediate use without manual setup for common workflows.
Supports regex patterns or custom Lua functions for defining file associations, enabling adaptation to any project structure, as shown in the mapping examples.
Opens a selection window when multiple matches exist, with built-in shortcuts for splits or tabs, and remembers selections to reduce repetitive picks.
Provides hooks like onOpenFile and onFindOtherFiles to customize file opening and filtering, allowing integration with other plugins or templates.
Custom mappings require solid regex and Lua knowledge, with patterns needing careful escaping (e.g., '%' for literal characters), which can lead to errors for less experienced users.
Only works with Neovim > 0.7, excluding Vim users and those on older versions, and lacks compatibility with other editors or IDEs.
While hooks allow some customization, there's no built-in support for popular tools like Telescope, requiring manual setup for advanced integrations.