Lazy git changes
This commit is contained in:
parent
56612daa52
commit
e76a75c798
16
init.lua
16
init.lua
|
@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
|||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||
vim.g.have_nerd_font = false
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
-- [[ Setting options ]]
|
||||
-- See `:help vim.opt`
|
||||
|
@ -102,6 +102,7 @@ vim.g.have_nerd_font = false
|
|||
vim.opt.number = true
|
||||
-- You can also add relative line numbers, to help with jumping.
|
||||
-- Experiment for yourself to see if you like it!
|
||||
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- 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
|
|||
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
||||
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
||||
|
||||
--NvimTree Toggle
|
||||
-- NvimTree Toggle
|
||||
vim.keymap.set('n', '<C-k><C-k>', ':NvimTreeToggle<CR>', { noremap = true, silent = true })
|
||||
|
||||
-- [[ Basic Autocommands ]]
|
||||
|
@ -934,14 +935,13 @@ require('lazy').setup({
|
|||
-- Here are some example plugins that I've included in the Kickstart repository.
|
||||
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||
--
|
||||
-- require 'kickstart.plugins.debug',
|
||||
-- require 'kickstart.plugins.indent_line',
|
||||
-- require 'kickstart.plugins.lint',
|
||||
-- require 'kickstart.plugins.autopairs',
|
||||
-- require 'kickstart.plugins.neo-tree',
|
||||
require 'kickstart.plugins.debug',
|
||||
require 'kickstart.plugins.indent_line',
|
||||
require 'kickstart.plugins.lint',
|
||||
require 'kickstart.plugins.autopairs',
|
||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||
|
||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
-- NOTE: The import below cantomatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
-- This is the easiest way to modularize your config.
|
||||
--
|
||||
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
||||
|
|
|
@ -14,8 +14,8 @@ return {
|
|||
disable_netrw = true, -- Disable netrw
|
||||
hijack_netrw = true, -- Hijack netrw for nvim-tree
|
||||
view = {
|
||||
side = 'left',
|
||||
width = 30,
|
||||
side = 'right', -- Position of the tree
|
||||
width = 40,
|
||||
},
|
||||
renderer = {
|
||||
icons = {
|
||||
|
@ -45,4 +45,14 @@ return {
|
|||
}
|
||||
end,
|
||||
},
|
||||
|
||||
-- Add lazygit.nvim plugin
|
||||
{
|
||||
'kdheepak/lazygit.nvim',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
cmd = { 'LazyGit' },
|
||||
keys = {
|
||||
{ '<leader>gg', '<cmd>LazyGit<CR>', desc = 'Open LazyGit' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue