actions.grep_lgrep: changed default bind to <C-g>

main
bhagwan 2 years ago
parent 3f3310064f
commit f1af3d7690

@ -553,7 +553,7 @@ require'fzf-lua'.setup {
actions = {
-- actions inherit from 'actions.files' and merge
-- this action toggles between 'grep' and 'live_grep'
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
no_header = false, -- hide grep|cwd header?
no_header_i = false, -- hide interactive header?
@ -641,7 +641,7 @@ require'fzf-lua'.setup {
actions = {
-- actions inherit from 'actions.files' and merge
-- this action toggles between 'grep' and 'live_grep'
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
no_header = false, -- hide grep|cwd header?
no_header_i = false, -- hide interactive header?

@ -599,7 +599,7 @@ Consult the list below for available settings:
actions = {
-- actions inherit from 'actions.files' and merge
-- this action toggles between 'grep' and 'live_grep'
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
no_header = false, -- hide grep|cwd header?
no_header_i = false, -- hide interactive header?
@ -687,7 +687,7 @@ Consult the list below for available settings:
actions = {
-- actions inherit from 'actions.files' and merge
-- this action toggles between 'grep' and 'live_grep'
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
no_header = false, -- hide grep|cwd header?
no_header_i = false, -- hide interactive header?

@ -273,7 +273,7 @@ M.globals.grep = {
rg_opts = "--column --line-number --no-heading --color=always --smart-case --max-columns=512",
_actions = function() return M.globals.actions.files end,
actions = {
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
-- live_grep_glob options
glob_flag = "--iglob", -- for case sensitive globs use '--glob'
@ -389,7 +389,7 @@ M.globals.tags = {
color_icons = true,
_actions = function() return M.globals.actions.files end,
actions = {
["ctrl-l"] = { actions.grep_lgrep }
["ctrl-g"] = { actions.grep_lgrep }
},
}
M.globals.btags = {

@ -69,7 +69,6 @@ M.fzf = function(opts, contents)
-- providers
config.__resume_data.last_query = nil
end
end
if opts.save_query or
opts.global_resume and opts.global_resume_query then

Loading…
Cancel
Save