Skip to content

Commit 98875f8

Browse files
committed
changed keymaps for neo-tree and enabled dev icons
1 parent de44f49 commit 98875f8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

init.lua

Lines changed: 5 additions & 7 deletions
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
-- See `:help vim.opt`
@@ -100,9 +100,7 @@ vim.g.have_nerd_font = false
100100

101101
-- Make line numbers default
102102
vim.opt.number = true
103-
-- You can also add relative line numbers, to help with jumping.
104-
-- Experiment for yourself to see if you like it!
105-
-- vim.opt.relativenumber = true
103+
vim.opt.relativenumber = true
106104

107105
-- Enable mouse mode, can be useful for resizing splits for example!
108106
vim.opt.mouse = 'a'
@@ -838,13 +836,13 @@ require('lazy').setup({
838836
-- change the command in the config to whatever the name of that colorscheme is.
839837
--
840838
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
841-
'folke/tokyonight.nvim',
839+
'morhetz/gruvbox',
842840
priority = 1000, -- Make sure to load this before all the other start plugins.
843841
init = function()
844842
-- Load the colorscheme here.
845843
-- Like many other themes, this one has different styles, and you could load
846844
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
847-
vim.cmd.colorscheme 'tokyonight-night'
845+
vim.cmd.colorscheme 'gruvbox'
848846

849847
-- You can configure highlights by doing something like:
850848
vim.cmd.hi 'Comment gui=none'
@@ -930,7 +928,7 @@ require('lazy').setup({
930928
-- require 'kickstart.plugins.indent_line',
931929
-- require 'kickstart.plugins.lint',
932930
-- require 'kickstart.plugins.autopairs',
933-
-- require 'kickstart.plugins.neo-tree',
931+
require 'kickstart.plugins.neo-tree',
934932
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
935933

936934
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`

lua/kickstart/plugins/neo-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ return {
1111
},
1212
cmd = 'Neotree',
1313
keys = {
14-
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
14+
{ '<leader>b', ':Neotree toggle<CR>', desc = 'NeoTree toggle', silent = true },
1515
},
1616
opts = {
1717
filesystem = {

0 commit comments

Comments
 (0)