Enhances UI with bufferline, diagnostics, and theme

- Integrates plugins for improved buffer management (bufferline, bufdelete) and diagnostics display (trouble).
- Applies the Catppuccin theme for a refreshed visual experience.
- Updates Neovim settings to support new UI elements and enable Nerd Fonts.
This commit is contained in:
sharmaharshitnone 2025-05-30 11:53:51 +05:30
parent edc87670eb
commit b94576c7b4
6 changed files with 280 additions and 1 deletions

View file

@ -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.o`
@ -123,6 +123,12 @@ vim.o.mouse = 'a'
-- Don't show the mode, since it's already in the status line
vim.o.showmode = false
-- Hide the command line when not in use
vim.o.cmdheight = 1
-- Hide the default tab line since we're using bufferline
vim.o.showtabline = 0
-- Sync clipboard between OS and Neovim.
-- Schedule the setting after `UiEnter` because it can increase startup-time.
-- Remove this option if you want your OS clipboard to remain independent.
@ -362,6 +368,7 @@ require('lazy').setup({
{ '<leader>s', group = '[S]earch' },
{ '<leader>t', group = '[T]oggle' },
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
{ '<leader>b', group = '[B]uffer' },
},
},
},