Skip to content

Commit c970038

Browse files
plugin cfg: neotree
1 parent 46093fe commit c970038

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
require 'options'

lua/kickstart/plugins/neo-tree.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ return {
1111
},
1212
cmd = 'Neotree',
1313
keys = {
14-
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
14+
{ '<leader>e', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
1515
},
1616
opts = {
1717
filesystem = {
1818
window = {
1919
mappings = {
20-
['\\'] = 'close_window',
20+
['<leader>e'] = 'close_window',
2121
},
2222
},
2323
},

lua/lazy-plugins.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ require('lazy').setup({
2020
-- Use `opts = {}` to force a plugin to be loaded.
2121
--
2222

23-
2423
-- modular approach: using `require 'path/name'` will
2524
-- include a plugin definition from file lua/path/name.lua
2625

@@ -57,7 +56,7 @@ require('lazy').setup({
5756
-- require 'kickstart.plugins.indent_line',
5857
-- require 'kickstart.plugins.lint',
5958
-- require 'kickstart.plugins.autopairs',
60-
-- require 'kickstart.plugins.neo-tree',
59+
require 'kickstart.plugins.neo-tree',
6160

6261
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
6362
-- This is the easiest way to modularize your config.

0 commit comments

Comments
 (0)