Skip to content

xiaoqixian/winlocal-search.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

A Window Local Search Plugin

This plugin enables you to have a search pattern in each window, and they can be highlighted simultaneously.

It makes the vim search pattern to be window local, even though it's actually global.

Demo

Setup

On lazy.nvim for example,

{
  "xiaoqixian/winlocal-search.nvim",
  config = require("wl-search").setup
}

Default Configurations

local default_config = {
  enabled = true,
  keep_hl_on_leaving = true,
}
  • enabled: is the window local search enabled.
  • keep_hl_on_leaving: should the window local search highlight be kept when you leave the window.

You can overwrite these options in setup.

About

A window local search neovim plugin

Topics

Resources

Stars

Watchers

Forks

Languages