mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(fzf): added action descriptions. (still doesnt work for trouble)
This commit is contained in:
parent
26e3e39f2e
commit
19a6e2de15
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ return {
|
|||
|
||||
-- Trouble
|
||||
config.defaults.actions.files["ctrl-t"] = require("trouble.sources.fzf").actions.open
|
||||
config.set_action_helpstr(config.defaults.actions.files["ctrl-t"].fn, "Open with Trouble")
|
||||
|
||||
-- Toggle root dir / cwd
|
||||
config.defaults.actions.files["ctrl-r"] = function(_, ctx)
|
||||
|
@ -49,6 +50,7 @@ return {
|
|||
LazyVim.pick.open(ctx.__INFO.cmd, o)
|
||||
end
|
||||
config.defaults.actions.files["alt-c"] = config.defaults.actions.files["ctrl-r"]
|
||||
config.set_action_helpstr(config.defaults.actions.files["ctrl-r"], "Toggle Root/CWD")
|
||||
|
||||
-- use the same prompt for all
|
||||
local defaults = require("fzf-lua.profiles.default-title")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue