Nvim-tree.lua: Is there a way to hide the full path of the directory?

Created on 6 May 2021  路  6Comments  路  Source: kyazdani42/nvim-tree.lua

Most helpful comment

I wanted this feature too! the fullpath doesnt look good :(
image

All 6 comments

I wanted this feature too! the fullpath doesnt look good :(
image

Same.

@kdav5758 something like this?

image

vim.g.nvim_tree_root_folder_modifier = ":t"

check :help filename-modifiers fore more info

@siduck76 It works. I have a question for you, how did you put that title "Explorer" in "nvimtree", it looks good.

its not a nvimtree feature , there was a recent PR in bufferline.nvim plugin https://github.com/akinsho/nvim-bufferline.lua/pull/90 ,

    offsets = {{filetype = "NvimTree", text = "Explorer"}}, in bufferline options config

@siduck76 Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peach-lasagna picture peach-lasagna  路  5Comments

AckslD picture AckslD  路  5Comments

DimitrisMilonopoulos picture DimitrisMilonopoulos  路  5Comments

GustavoPrietoP picture GustavoPrietoP  路  6Comments

stsewd picture stsewd  路  9Comments