return { { "LeonHeidelbach/trailblazer.nvim", dependencies = { "catppuccin/nvim" }, keys = { { "m", function() local tb = require("trailblazer") tb.new_trail_mark() tb.open_trail_mark_list() vim.cmd("wincmd p") end, desc = "Create new mark", silent = true, }, }, config = function() local colors = require("catppuccin.palettes").get_palette() require("trailblazer").setup({ trail_options = { available_trail_mark_modes = { "global_chron_buf_switch_group_chron", "buffer_local_line_sorted", }, current_trail_mark_mode = "global_chron_buf_switch_group_chron", verbose_trail_mark_select = false, mark_symbol = "•", newest_mark_symbol = "", cursor_mark_symbol = "", next_mark_symbol = "ﭠ", previous_mark_symbol = "ﭢ", multiple_mark_symbol_counters_enabled = false, trail_mark_symbol_line_indicators_enabled = true, trail_mark_list_rows = 5, move_to_nearest_before_peek = true, move_to_nearest_before_peek_motion_directive_up = "up", move_to_nearest_before_peek_motion_directive_down = "down", }, mappings = nil, quickfix_mappings = { v = { actions = { qf_action_move_selected_trail_marks_down = "", qf_action_move_selected_trail_marks_up = "", }, }, }, hl_groups = { TrailBlazerTrailMark = { guifg = colors.overlay0, guibg = "none", gui = "bold" }, TrailBlazerTrailMarkNext = { guifg = colors.overlay1, guibg = "none" }, TrailBlazerTrailMarkPrevious = { guifg = colors.overlay1, guibg = "none" }, TrailBlazerTrailMarkCursor = { guifg = colors.crust, guibg = colors.green }, TrailBlazerTrailMarkNewest = { guifg = colors.crust, guibg = colors.sky }, TrailBlazerTrailMarkGlobalChronBufSwitchGroupChron = { guifg = colors.crust, guibg = colors.peach, }, TrailBlazerTrailMarkBufferLocalLineSorted = { guifg = colors.crust, guibg = colors.mauve }, TrailBlazerTrailMarkCustomOrd = { guifg = colors.crust, guibg = colors.yellow, gui = "bold" }, }, }) end, }, }