snipe-marks.nvim

December 14, 2024 ยท View on GitHub

Yet another marks navigate nvim plugin depends on leath-dub/snipe.nvim

How to use


{
  "nicholasxjy/snipe-marks.nvim",
  dependencies = { "leath-dub/snipe.nvim" },
  keys = {
    {"<leader>ml", function() require("snipe-marks").open_marks_menu() end, desc = "Find local marks"},
    {"<leader>ma", function() require("snipe-marks").open_marks_menu("all") end, desc = "Find all marks"},
  }
}

Demo

demo.gif

why not telescope?

Local marks is a good and quick way for me to navigate between code blocks when editing the current buffer.

The telescope UI is a bit distracted for me, snipe menu is so clean and simple.