Fix typo and float Neo-tree window for readability
This commit is contained in:
parent
e2f0eadaca
commit
757bceafd7
2
init.lua
2
init.lua
|
@ -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 = ' '
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue