Skip to content

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.

Notifications You must be signed in to change notification settings

shaobosong/chdir.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

chdir.nvim

Description

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):

Installation

  • 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,
}

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages