Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Search.kak

User friendly project wide search with context for Kakoune editor.

showcase

Installation

With plug.kak (recommended)

Just add this to your kakrc:

# -- Search: https://github.com/1g0rb0hm/search.kak
plug "1g0rb0hm/search.kak" config %{
  set-option global search_context 3 # number of context lines
}

Then reload Kakoune config or restart Kakoune and run :plug-install.

Usage

Simply select the text you would like to search for and run :search. You can also provide a search pattern as an argument :search [pattern]

You can then navigate from one match to the next using n as the search term is automatically stored in the default / search register.

Another way of navigating to the previous/next match is via :search-previous-match and :search-next-match.

Each match is surrounded by a configurable number of context lines (see search_context option).

About

Kakoune Editor Search Plugin

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors