Fix typo and float Neo-tree window for readability

This commit is contained in:
NaniNoni 2024-08-13 21:25:04 +02:00
parent e2f0eadaca
commit 757bceafd7
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
-- ngSet <space> as the leader key
-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
vim.g.mapleader = ' '

View File

@ -8,10 +8,11 @@ return {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
'3rd/image.nvim', -- Optional image support in preview window
},
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' },
{ '\\', ':Neotree position=float<CR>', desc = 'NeoTree reveal' },
},
opts = {
filesystem = {