Modify zoxide to cd menu and main panel
This commit is contained in:
parent
f8affffe69
commit
d02762b7c9
2
init.lua
2
init.lua
|
@ -243,6 +243,8 @@ require('lazy').setup({
|
||||||
default = {
|
default = {
|
||||||
action = function(selection)
|
action = function(selection)
|
||||||
vim.cmd.cd(selection.path)
|
vim.cmd.cd(selection.path)
|
||||||
|
local split = z_utils.create_basic_command 'split'
|
||||||
|
split(selection)
|
||||||
end,
|
end,
|
||||||
after_action = function(selection)
|
after_action = function(selection)
|
||||||
vim.notify('Directory changed to ' .. selection.path)
|
vim.notify('Directory changed to ' .. selection.path)
|
||||||
|
|
Loading…
Reference in New Issue