From 93ee5ea3933528c781581eb7712ff74e8235ec17 Mon Sep 17 00:00:00 2001 From: Will Hopkins Date: Mon, 4 Sep 2023 16:23:21 -0700 Subject: [PATCH] feat(fzf): select first entry on , last on --- README.md | 8 ++++---- lua/dropbar/configs.lua | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ecdfa91f..d3368d5d 100644 --- a/README.md +++ b/README.md @@ -611,7 +611,7 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975- if not menu then return end - menu:fuzzy_find_click_on_entry(-1) + menu:fuzzy_find_click_on_entry() end, [''] = function() ---@type dropbar_menu_t @@ -619,7 +619,7 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975- if not menu then return end - menu:fuzzy_find_click_on_entry(nil) + menu:fuzzy_find_click_on_entry(-1) end, [''] = function() ---@type dropbar_menu_t @@ -1273,7 +1273,7 @@ appearance of the fuzzy finder interface. if not menu then return end - menu:fuzzy_find_click_on_entry(-1) + menu:fuzzy_find_click_on_entry() end, [''] = function() ---@type dropbar_menu_t @@ -1281,7 +1281,7 @@ appearance of the fuzzy finder interface. if not menu then return end - menu:fuzzy_find_click_on_entry(nil) + menu:fuzzy_find_click_on_entry(-1) end, [''] = function() ---@type dropbar_menu_t diff --git a/lua/dropbar/configs.lua b/lua/dropbar/configs.lua index 965757cf..8a427fc7 100644 --- a/lua/dropbar/configs.lua +++ b/lua/dropbar/configs.lua @@ -406,7 +406,7 @@ M.opts = { if not menu then return end - menu:fuzzy_find_click_on_entry(-1) + menu:fuzzy_find_click_on_entry() end, [''] = function() ---@type dropbar_menu_t @@ -414,7 +414,7 @@ M.opts = { if not menu then return end - menu:fuzzy_find_click_on_entry(nil) + menu:fuzzy_find_click_on_entry(-1) end, [''] = function() ---@type dropbar_menu_t