Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. telescope-alternate.nvim

telescope-alternate.nvim

NOASSERTIONLua

A Neovim plugin to quickly navigate between related files using regex patterns, with support for Telescope and fzf-lua.

GitHubGitHub
107 stars14 forks0 contributors

What is telescope-alternate.nvim?

telescope-alternate is a Neovim plugin that allows developers to quickly jump between related files in a project using user-defined regex patterns. It solves the problem of tedious manual navigation between files like tests and implementations or services and contracts by mapping these relationships once.

Target Audience

Neovim users working on structured projects (e.g., Rails, NestJS, Angular) who frequently switch between related files and want to optimize their workflow.

Value Proposition

It offers a flexible, pattern-driven approach to file navigation with support for multiple pickers (Telescope/fzf-lua), automatic file creation, and pre-built presets, reducing friction in large codebases.

Overview

Alternate between common files using pre-defined regexp. Just map the patterns and starting navigating between files that are related.

Use Cases

Best For

  • Switching between Ruby on Rails models and their corresponding tests or controllers
  • Navigating between NestJS modules and their services or controllers
  • Jumping from Angular components to their templates or styles
  • Linking custom file relationships in monorepos or structured applications
  • Quickly accessing related files without remembering exact paths
  • Creating missing related files on the fly during development

Not Ideal For

  • Projects with highly dynamic or non-standard file structures that don't follow consistent naming conventions
  • Developers who prefer zero-configuration tools and rely solely on language servers or built-in editor navigation
  • Teams not using Telescope or fzf-lua, as the plugin depends on one of these pickers to function

Pros & Cons

Pros

Flexible Regex Mappings

Allows custom regex patterns to define any file relationship, such as linking Rails models to tests or NestJS modules to services, enabling tailored navigation for complex codebases.

Multi-Picker Compatibility

Supports both Telescope and fzf-lua as selection interfaces, giving users choice and flexibility, as highlighted in the configuration options and installation notes.

Automatic File Creation

Can create missing destination files on the fly, including those with regex placeholders, which streamlines development when adding new related files, as demonstrated in the demo and mappings.

Pre-built Framework Presets

Includes ready-made mappings for Rails, RSpec, NestJS, and Angular, reducing setup time for common project structures, as listed in the presets section.

Cons

Verbose Configuration

Setting up custom regex mappings requires detailed Lua patterns, which can be error-prone and time-consuming, especially for users unfamiliar with regex or the plugin's syntax, as seen in the lengthy configuration examples.

Dependency on External Plugins

Relies on Telescope or fzf-lua being installed and configured, adding to plugin bloat and setup complexity, and it does not work with other pickers or vanilla Neovim out of the box.

Limited to Structured Conventions

Less effective for projects without clear file naming or directory patterns, as the regex-based approach assumes consistency, making it cumbersome for ad-hoc or legacy codebases.

Frequently Asked Questions

Quick Stats

Stars107
Forks14
Contributors0
Open Issues3
Last commit1 year ago
CreatedSince 2022

Tags

#rails#productivity#regex-patterns#nestjs#neovim-plugin#angular#file-navigation#fzf-lua#telescope-nvim

Built With

N
Neovim
L
Lua

Included in

Neovim20.6k
Auto-fetched 8 hours ago

Related Projects

workspaces.nvimworkspaces.nvim

a simple plugin to manage workspace directories in neovim

Stars373
Forks16
Last commit1 year ago
projections.nvimprojections.nvim

A map to your filesystem. A Neovim plugin for fast session switching and project discovery.

Stars244
Forks11
Last commit2 years ago
telescope-repo.nvimtelescope-repo.nvim

🦘 Jump into the repositories (git, mercurial…) of your filesystem with telescope.nvim, without any setup

Stars240
Forks20
Last commit3 months ago
project.nvimproject.nvim

Actively maintained fork of ahmedkhalf/project.nvim. Detects and chdirs to the project root, with its own UI, provides lualine component, supports oil.nvim, includes pickers for telescope, snacks, fzf-lua, and picker.nvim.

Stars200
Forks13
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub