Skip to content

Commit e76a75c

Browse files
committed
Lazy git changes
1 parent 56612da commit e76a75c

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

init.lua

Lines changed: 12 additions & 12 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`
@@ -102,6 +102,7 @@ vim.g.have_nerd_font = false
102102
vim.opt.number = true
103103
-- You can also add relative line numbers, to help with jumping.
104104
-- Experiment for yourself to see if you like it!
105+
105106
vim.opt.relativenumber = true
106107

107108
-- Enable mouse mode, can be useful for resizing splits for example!
@@ -189,7 +190,7 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
189190
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
190191
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
191192

192-
--NvimTree Toggle
193+
-- NvimTree Toggle
193194
vim.keymap.set('n', '<C-k><C-k>', ':NvimTreeToggle<CR>', { noremap = true, silent = true })
194195

195196
-- [[ Basic Autocommands ]]
@@ -846,7 +847,7 @@ require('lazy').setup({
846847
-- change the command in the config to whatever the name of that colorscheme is.
847848
--
848849
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
849-
'folke/tokyonight.nvim',
850+
'folke/tokyonight.nvim',
850851
priority = 1000, -- Make sure to load this before all the other start plugins.
851852
init = function()
852853
-- Load the colorscheme here.
@@ -857,14 +858,14 @@ require('lazy').setup({
857858
-- You can configure highlights by doing something like:
858859
vim.cmd.hi 'Comment gui=none'
859860
end,
860-
},
861-
861+
},
862+
862863
-- Highlight todo, notes, etc in comments
863864
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
864865

865866
{ -- Collection of various small independent plugins/modules
866867
'echasnovski/mini.nvim',
867-
config = function()
868+
config = function()
868869
-- Better Around/Inside textobjects
869870
--
870871
-- Examples:
@@ -934,14 +935,13 @@ require('lazy').setup({
934935
-- Here are some example plugins that I've included in the Kickstart repository.
935936
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
936937
--
937-
-- require 'kickstart.plugins.debug',
938-
-- require 'kickstart.plugins.indent_line',
939-
-- require 'kickstart.plugins.lint',
940-
-- require 'kickstart.plugins.autopairs',
941-
-- require 'kickstart.plugins.neo-tree',
938+
require 'kickstart.plugins.debug',
939+
require 'kickstart.plugins.indent_line',
940+
require 'kickstart.plugins.lint',
941+
require 'kickstart.plugins.autopairs',
942942
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
943943

944-
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
944+
-- NOTE: The import below cantomatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
945945
-- This is the easiest way to modularize your config.
946946
--
947947
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.

lua/custom/plugins/init.lua

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ return {
1414
disable_netrw = true, -- Disable netrw
1515
hijack_netrw = true, -- Hijack netrw for nvim-tree
1616
view = {
17-
side = 'left',
18-
width = 30,
17+
side = 'right', -- Position of the tree
18+
width = 40,
1919
},
2020
renderer = {
2121
icons = {
@@ -45,4 +45,14 @@ return {
4545
}
4646
end,
4747
},
48+
49+
-- Add lazygit.nvim plugin
50+
{
51+
'kdheepak/lazygit.nvim',
52+
dependencies = { 'nvim-lua/plenary.nvim' },
53+
cmd = { 'LazyGit' },
54+
keys = {
55+
{ '<leader>gg', '<cmd>LazyGit<CR>', desc = 'Open LazyGit' },
56+
},
57+
},
4858
}

0 commit comments

Comments
 (0)