kak-symbol-search

Crates.iokak-symbol-search
lib.rskak-symbol-search
version0.4.4
sourcesrc
created_at2024-06-04 09:50:14.640665
updated_at2024-09-03 15:03:48.542334
descriptionkakoune symbol search
homepage
repositoryhttps://github.com/enricozb/symbol-search.kak
max_upload_size
id1260936
size2,082,073
Enrico Borba (enricozb)

documentation

README

symbol-search.kak

[!NOTE] This plugin is still undergoing development, but is usable.

Search symbols across various languages among files in your current working directory.

demo.gif

Symbols are extracted using syntect which parses source code using Sublime Text syntax files.

Installation

  1. Install the requirements.
  2. Install kak-symbol-search create either with cargo or with nix.
  3. Place symbol-search.kak where kakoune will load it.

Configuration

Two things can be configured: fzf's appearance, and the list of symbols that are searchable for each language. Configuration is done through a TOML string. Set symbol_search_config kakoune option to your configuration. See symbol-search.kak or default-config.toml for the default configuration.

Requirements

TODO

  • keep subprocess alive if indexing is still happening after exit.
    • not sure what to do if another process is opened while one is indexing.
  • fzf modes for searching specific symbol kinds
  • buffer symbol search (similar to sublime's non-indexed symbol search)
  • include parent scope(s) in symbols
    • a method under impl Trait for X should appear as <X as Trait>::method
Commit count: 12

cargo fmt