change color scheme

This commit is contained in:
2024-12-08 15:49:58 +00:00
parent c1a80f66bb
commit cf6d4c58b0
15 changed files with 353 additions and 29 deletions

View File

@@ -15,6 +15,8 @@ function init_lazy_nvim()
end
function define_keymaps()
vim.api.nvim_set_keymap("n", "J", "10j", { noremap = true, silent = true })
-- space+f to open telescope browser in normal mode
vim.api.nvim_set_keymap("n", "<space>f", ":NvimTreeToggle<CR>", { noremap = true })
@@ -103,12 +105,12 @@ function setup_plugins()
require("auto-dark-mode").setup({
set_dark_mode = function()
vim.opt.background = "dark"
vim.cmd("colorscheme catppuccin-mocha")
vim.cmd("colorscheme rose-pine-moon")
end,
set_light_mode = function()
vim.opt.background = "light"
vim.cmd("colorscheme catppuccin-latte")
vim.cmd("colorscheme rose-pine-dawn")
end,
})
@@ -122,7 +124,7 @@ function setup_plugins()
})
require("nvim-tree").setup({
disable_netrw = true,
disable_netrw = false,
hijack_netrw = true,
respect_buf_cwd = true,
sync_root_with_cwd = true,
@@ -461,8 +463,9 @@ function config_vim()
vim.opt.listchars = {}
vim.opt.termguicolors = true
vim.o.guifont = "CommitMono Nerd Font:h14"
vim.o.guifont = "FiraCode Nerd Font:h14"
vim.g.neovide_floating_shadow = false
vim.g.neovide_position_animation_length = 0
vim.g.neovide_cursor_animation_length = 0.00
vim.g.neovide_cursor_trail_size = 0
@@ -525,6 +528,7 @@ end
PLUGINS = {
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 },
{ "rose-pine/neovim", name = "rose-pine" },
{ "shortcuts/no-neck-pain.nvim" },
{ "nvim-tree/nvim-web-devicons" },
{ "nvim-tree/nvim-tree.lua" },
@@ -590,6 +594,12 @@ PLUGINS = {
config = true,
},
{ "windwp/nvim-ts-autotag" },
{
"numToStr/Comment.nvim",
opts = {
-- add any options here
},
},
}
init_lazy_nvim()

View File

@@ -1,4 +1,5 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"LuaSnip": { "branch": "master", "commit": "50fcf17db7c75af80e6b6109acfbfb4504768780" },
"auto-dark-mode.nvim": { "branch": "master", "commit": "2b8c938da9a7c9432120266b92936b2c22e8cfb8" },
"catppuccin": { "branch": "main", "commit": "cc8e290d4c0d572171243087f8541e49be2c8764" },
@@ -9,7 +10,7 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"formatter.nvim": { "branch": "master", "commit": "ad246d34ce7a32f752071ed81b09b94e6b127fad" },
"gitsigns.nvim": { "branch": "main", "commit": "4a143f13e122ab91abdc88f89eefbe70a4858a56" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazy.nvim": { "branch": "main", "commit": "4c6479e98ad643cd584e9e7c4095c463e0d810eb" },
"lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" },
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
@@ -24,8 +25,9 @@
"nvim-ts-autotag": { "branch": "main", "commit": "06fe07d7523ba8c755fac7c913fceba43b1720ee" },
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"rose-pine": { "branch": "main", "commit": "07a887a7bef4aacea8c7caebaf8cbf808cdc7a8e" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" },
"typst-preview.nvim": { "branch": "master", "commit": "36a82aaff8931f96015ee7365afe2e253ab3b1ea" },
"vim-floaterm": { "branch": "master", "commit": "4e28c8dd0271e10a5f55142fb6fe9b1599ee6160" }
}
}