themes and lualine

This commit is contained in:
Tawfeeq 2025-04-05 04:01:34 +02:00
parent fd7c1e5092
commit 9f9d663f0b
8 changed files with 39 additions and 21 deletions

View File

@ -92,7 +92,6 @@ I hope you enjoy your Neovim journey,
P.S. You can delete this when you're done too. It's your config now! :)
--]]
vim.api.nvim_set_keymap('n', ':', '<cmd>FineCmdline<CR>', { noremap = true })
vim.cmd [[ autocmd VimEnter * Neotree position=left ]]
--AUTO RELOAD ON SAVE
vim.api.nvim_create_autocmd('BufWritePost', {
pattern = '*', -- For all files
@ -1084,7 +1083,7 @@ require('lazy').setup({
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
-- vim.cmd.colorscheme 'tokyonight-night'
vim.cmd.colorscheme 'ash'
vim.cmd.colorscheme 'shin'
-- vim.cmd.colorscheme 'kanagawa'
-- vim.cmd.colorscheme 'material-palenight'
-- vim.cmd.colorscheme 'material-deep-ocean'
@ -1121,17 +1120,17 @@ require('lazy').setup({
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin
local statusline = require 'mini.statusline'
-- local statusline = require 'mini.statusline'
-- set use_icons to true if you have a Nerd Font
statusline.setup { use_icons = vim.g.have_nerd_font }
-- statusline.setup { use_icons = vim.g.have_nerd_font }
-- You can configure sections in the statusline by overriding their
-- default behavior. For example, here we set the section for
-- cursor location to LINE:COLUMN
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function()
return '%2l:%-2v'
end
-- statusline.section_location = function()
-- return '%2l:%-2v'
-- end
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim

View File

@ -38,13 +38,13 @@ local config = {
-- Disable sections and component separators
component_separators = '',
section_separators = '',
theme = {
-- We are going to use lualine_c and lualine_x as left and
-- right sections. Both are highlighted by the c theme.
-- So we are just setting default looks of statusline
normal = { c = { fg = colors.fg, bg = colors.bg } },
inactive = { c = { fg = colors.fg, bg = colors.bg } },
},
-- theme = {
-- -- We are going to use lualine_c and lualine_x as left and
-- -- right sections. Both are highlighted by the c theme.
-- -- So we are just setting default looks of statusline
-- normal = { c = { fg = colors.fg, bg = colors.bg } },
-- inactive = { c = { fg = colors.fg, bg = colors.bg } },
-- },
},
sections = {
-- these are to remove the defaults
@ -130,11 +130,11 @@ ins_left {
cond = conditions.buffer_not_empty,
}
-- ins_left {
-- 'filename',
-- cond = conditions.buffer_not_empty,
-- color = { fg = colors.magenta, gui = 'bold' },
-- }
ins_left {
'filename',
cond = conditions.buffer_not_empty,
color = { fg = colors.magenta, gui = 'bold' },
}
ins_left { 'location', show_filename_only = false }
ins_left { 'progress', color = { fg = colors.fg, gui = 'bold' } }
@ -197,7 +197,7 @@ ins_right {
ins_right {
'branch',
icon = '',
color = { fg = colors.violet, gui = 'bold' },
color = { fg = colors.red, gui = 'bold' },
}
ins_right {

View File

@ -0,0 +1 @@
return { 'qaptoR-nvim/chocolatier.nvim' }

View File

@ -2,4 +2,14 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
{
'folke/noice.nvim',
event = 'VeryLazy',
opts = {},
dependencies = {
'MunifTanjim/nui.nvim',
'rcarriga/nvim-notify'
}
}
}

View File

@ -0,0 +1 @@
return { 'rktjmp/lush.nvim' }

View File

@ -0,0 +1 @@
return { 'sample-usr/rakis.nvim' }

View File

@ -0,0 +1,4 @@
return { 'anAcc22/sakura.nvim', config = function ()
vim.opt.background = 'dark'
end }

View File

@ -0,0 +1,2 @@
return { 'vague2k/vague.nvim' }