A Neovim plugin to visualize and navigate through the parent directories of the current working directory. It displays the directory path with indexed markers, allowing quick navigation to any parent directory by entering the corresponding index.
Inspired by cd-index.sh
/home/randb/freedom/chdir.nvim/lua/chdir
----5-----4-------3----------2---1-----0
Type number and <Enter> (empty cancels):- lazy.nvim
{
"shaobosong/chdir.nvim",
lazy = true,
cmd = { "Chdir" },
keys = {
{ "<leader>ci", "<cmd>Chdir<cr>", mode = "" },
},
config = function ()
require("chdir").setup({
sign = '-',
start_index = 0,
})
end,
}