Skip to content
Alexander Courtis edited this page Oct 13, 2024 · 6 revisions

Creating Directories

Use the "Create File Or Directory" mapping, default a, appending a trailing slash.

e.g. foo/ to create a directory foo

You can create many e.g. foo/bar/baz to create directories foo and bar containing a file baz

Colors And Highlights Look Strange

Your color or highlight plugin may have a specific nvim-tree configuration.

See Color Schemes

Why Do I See Spelling Highlights?

The following highlight groups use the standard Spell* highlight groups when highlighting files:

Clipboard:

NvimTreeCopiedHL    SpellRare
NvimTreeCutHL       SpellBad

Bookmarks:

NvimTreeBookmarkHL  SpellLocal

File Text:

NvimTreeExecFile    SpellCap
NvimTreeImageFile   SpellCap
NvimTreeSpecialFile	SpellCap
NvimTreeSymlink     SpellCap

You can reset the above to pre 2024-01-20 values or others e.g.

vim.cmd([[
    :hi NvimTreeExecFile    gui=bold           guifg=#ffa0a0
    :hi NvimTreeSymlink     gui=bold           guifg=#ffff60
    :hi NvimTreeSpecialFile gui=bold,underline guifg=#ff80ff
    :hi NvimTreeImageFile   gui=bold           guifg=#ff80ff
]])
Clone this wiki locally