Replies: 1 comment
-
{
picker = {
win = {
input = {
keys = {
["<C-home>"] = { "parent_dir", mode = { "n", "i" } },
},
},
},
actions = {
parent_dir = function(p)
p.opts.cwd = vim.fs.dirname(p.opts.cwd or vim.uv.cwd())
p:find()
end,
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have such hot key in my Telescope setup to go to parent directory on the fly. How i can implement it in Picker.files and may be in picker live_grep?
Beta Was this translation helpful? Give feedback.
All reactions