mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 14:18:36 +02:00
Modify zoxide to cd menu and main panel
This commit is contained in:
parent
f8affffe69
commit
d02762b7c9
1 changed files with 2 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue