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

main
bhagwan 2 years ago
parent 051c4f68f9
commit 3f3310064f

@ -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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { 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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { actions.grep_lgrep }
},
no_header = false, -- hide grep|cwd header?
no_header_i = false, -- hide interactive header?

@ -85,7 +85,7 @@ INSTALLATION *fzf-lua-installation*
Using vim-plug <https://github.com/junegunn/vim-plug>
>
Plug 'ibhagwan/fzf-lua'
Plug 'ibhagwan/fzf-lua', {'branch': 'main'}
" optional for icon support
Plug 'kyazdani42/nvim-web-devicons'
<
@ -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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { 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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { 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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { 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-i"] = { actions.grep_lgrep }
["ctrl-l"] = { actions.grep_lgrep }
},
}
M.globals.btags = {

Loading…
Cancel
Save