From 842f5fa367711c3d78fa2f389e8033098dc6f234 Mon Sep 17 00:00:00 2001 From: Marco Dalla Stella Date: Tue, 10 Feb 2026 11:10:00 +0100 Subject: [PATCH] Change key binds for picker --- plugin/20_keymaps.lua | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/plugin/20_keymaps.lua b/plugin/20_keymaps.lua index a7ced77..2085d20 100644 --- a/plugin/20_keymaps.lua +++ b/plugin/20_keymaps.lua @@ -41,7 +41,7 @@ _G.Config.leader_group_clues = { { mode = 'n', keys = 'a', desc = '+AI' }, { mode = 'n', keys = 'b', desc = '+Buffer' }, { mode = 'n', keys = 'e', desc = '+Explore/Edit' }, - { mode = 'n', keys = 'f', desc = '+Find' }, + { mode = 'n', keys = 'p', desc = '+Pick' }, { mode = 'n', keys = 'g', desc = '+Git' }, { mode = 'n', keys = 'l', desc = '+Language' }, { mode = 'n', keys = 'm', desc = '+Map' }, @@ -122,24 +122,24 @@ nmap_leader('eq', explore_quickfix, 'Quickfix') -- All these use 'mini.pick'. See `:h MiniPick-overview` for an overview. local pick_workspace_symbols_live = 'Pick lsp scope="workspace_symbol_live"' -nmap_leader('f/', 'Pick history scope="/"', '"/" history') -nmap_leader('f:', 'Pick history scope=":"', '":" history') -nmap_leader('fb', 'Pick buffers', 'Buffers') -nmap_leader('fd', 'Pick diagnostic scope="all"', 'Diagnostic workspace') -nmap_leader('fD', 'Pick diagnostic scope="current"', 'Diagnostic buffer') -nmap_leader('ff', 'Pick files', 'Files') -nmap_leader('fg', 'Pick grep_live', 'Grep live') -nmap_leader('fG', 'Pick grep pattern=""', 'Grep current word') -nmap_leader('fh', 'Pick help', 'Help tags') -nmap_leader('fH', 'Pick hl_groups', 'Highlight groups') -nmap_leader('fl', 'Pick buf_lines scope="all"', 'Lines (all)') -nmap_leader('fL', 'Pick buf_lines scope="current"', 'Lines (buf)') -nmap_leader('fr', 'Pick resume', 'Resume') -nmap_leader('fR', 'Pick lsp scope="references"', 'References (LSP)') -nmap_leader('fs', pick_workspace_symbols_live, 'Symbols workspace (live)') -nmap_leader('fS', 'Pick lsp scope="document_symbol"', 'Symbols document') -nmap_leader('fv', 'Pick visit_paths cwd=""', 'Visit paths (all)') -nmap_leader('fV', 'Pick visit_paths', 'Visit paths (cwd)') +nmap_leader('p/', 'Pick history scope="/"', '"/" history') +nmap_leader('p:', 'Pick history scope=":"', '":" history') +nmap_leader('pb', 'Pick buffers', 'Buffers') +nmap_leader('pd', 'Pick diagnostic scope="all"', 'Diagnostic workspace') +nmap_leader('pD', 'Pick diagnostic scope="current"', 'Diagnostic buffer') +nmap_leader('pf', 'Pick files', 'Files') +nmap_leader('pg', 'Pick grep_live', 'Grep live') +nmap_leader('pG', 'Pick grep pattern=""', 'Grep current word') +nmap_leader('ph', 'Pick help', 'Help tags') +nmap_leader('pH', 'Pick hl_groups', 'Highlight groups') +nmap_leader('pl', 'Pick buf_lines scope="all"', 'Lines (all)') +nmap_leader('pL', 'Pick buf_lines scope="current"', 'Lines (buf)') +nmap_leader('pr', 'Pick resume', 'Resume') +nmap_leader('pR', 'Pick lsp scope="references"', 'References (LSP)') +nmap_leader('ps', pick_workspace_symbols_live, 'Symbols workspace (live)') +nmap_leader('pS', 'Pick lsp scope="document_symbol"', 'Symbols document') +nmap_leader('pv', 'Pick visit_paths cwd=""', 'Visit paths (all)') +nmap_leader('pV', 'Pick visit_paths', 'Visit paths (cwd)') -- g is for Git nmap_leader('gg', 'Neogit', 'Open neogit')