Skip to content

neur1n/fzf-lua-foldmarkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

fzf-lua-foldmarkers

Fold markers picker for fzf-lua.

Tip

Current functionalities of this plugin can be approximated using fzf-lua's grep_curbuf or blines as discussed in fzf-lua#2437. Consider using those first if they meet your needs.

Prerequisites

  • NeoVim (tested with version 0.11.4)
  • fzf-lua

Installation

Install this using your favorite package manager. For example using lazy.nvim:

{
  "ibhagwan/fzf-lua",
  dependencies = {
    "neur1n/fzf-lua-foldmarkers",
  },
},

Configuration

require("fzf-lua-foldmarkers").setup({
    -- Optional. Will be called after jumping to a fold marker.
    on_jump = function()
      ...
    end,
})

Usage

Example keybinding to invoke the fold markers picker:

{"<Leader>fm", "<Cmd>lua require('fzf-lua-foldmarkers').foldmarkers()<CR>", mode = "n", {noremap = true, silent = true}},

About

Fold markers picker for fzf-lua.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages