From 13c19c4b74f7d88389253f4e766d53e071d4d194 Mon Sep 17 00:00:00 2001 From: Stephan Badragan Date: Sat, 11 May 2024 01:53:33 -0700 Subject: [PATCH] add commment --- lua/grug-far/opts.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lua/grug-far/opts.lua b/lua/grug-far/opts.lua index 5f769460..4c0a18c1 100644 --- a/lua/grug-far/opts.lua +++ b/lua/grug-far/opts.lua @@ -33,12 +33,19 @@ M.defaultOptions = { -- shortcuts for the actions you see at the top of the buffer -- set to '' to unset. Unset mappings will be removed from the help header + -- They are all mappings for both insert and normal mode except for gotoLocation + -- which is normal mode only. The distinction is mostly due to how they tend to + -- be used and due to my brain short-circuiting while writing this :P. + -- Would be good to improve this in the future if there is enough of a need. keymaps = { + -- normal and insert mode replace = '', qflist = '', - gotoLocation = '', syncLocations = '', - close = '' + close = '', + + -- normal mode only + gotoLocation = '', }, -- separator between inputs and results, default depends on nerdfont