GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sogimu/nvim-tree-search: Midnight Commander-style Ctrl+S search overlay for nvim-tree"

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
lua/nvim-tree-search
lua/nvim-tree-search
 
 
README.md
README.md
 
 

Repository files navigation

nvim-tree-search

Search and navigate files in nvim-tree with a lightweight overlay, inspired by the Ctrl+S search in Midnight Commander.

nvim-tree-search

Features

  • Real-time filtering — results update as you type
  • Prefix matching — case-insensitive search by filename
  • Keyboard navigation — arrow keys cycle through matches
  • Visual highlights — current and regular matches are color-coded

Installation

lazy.nvim

{
  "sogimu/nvim-tree-search",
  lazy = true,
}

Then add <C-s> to your nvim-tree on_attach:

on_attach = function(bufnr)
  local api = require("nvim-tree.api")
  api.config.mappings.default_on_attach(bufnr)

  local opts = { buffer = bufnr, noremap = true, silent = true }

  vim.keymap.set("n", "<C-s>", function()
    require("nvim-tree-search").start()
  end, vim.tbl_extend("force", opts, { desc = "Search" }))
end

Usage

Key Mode Description
<C-s> Normal Open search overlay
<CR> Insert Open selected file/directory
<Esc> Insert Close search
<C-u> Insert Clear input
↑ / ↓ Insert Previous / next match

Highlight Groups

Group Description
NvimTreeSearchMatch Regular matches
NvimTreeSearchCurrent Active/selected match

Requirements

  • nvim-tree.lua

About

Midnight Commander-style Ctrl+S search overlay for nvim-tree"

Topics

file-searchlazylazy-nvimluamcmidnight-commanderneovimneovim-plugintree-navigation

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.