优化主题

This commit is contained in:
LingZhaoHui 2024-06-08 14:48:51 +08:00
parent 4132ab5379
commit 7d94f4604d
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
5 changed files with 26 additions and 12 deletions

View File

@ -1,8 +1,5 @@
vim.g.mapleader = " "
vim.o.background = "light"
local vim = vim
vim.colorscheme = "oceanic-next"
require("lazynvim-init")
require("keybindings")

View File

@ -1,3 +1,4 @@
vim.wo.number = true
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({

View File

@ -15,6 +15,11 @@ return {
n={"<cmd>BufferLineCycleNext<cr>", "Go to next buffer"},
d={"<cmd>bd<cr>", "delete current buffer"}
},
d = {
name="dirTree",
s={"<cmd>NvimTreeToggle<cr>", "show dir tree on left"},
c={"<cmd>NvimTreeClose<cr>", "hidden dir tree on left"}
},
m = {
name="Markdown",
k={
@ -23,10 +28,8 @@ return {
c={"<cmd>MarkdownPreviewStop<cr>", "MarkdownPreviewStop"}
}
},
d = {
name="dirTree",
s={"<cmd>NvimTreeToggle<cr>", "show dir tree on left"},
c={"<cmd>NvimTreeClose<cr>", "hidden dir tree on left"}
s = {
name="Search"
}
}
}, {silent = true, noremap = true})

View File

@ -120,9 +120,6 @@ return {
"ray-x/cmp-treesitter",
lazy = true,
},
{
"mhartington/oceanic-next",
},
{
'nvim-lualine/lualine.nvim',
config = function()
@ -165,5 +162,6 @@ return {
{
"azabiong/vim-highlighter",
},
{"stevearc/dressing.nvim", opts = {}}
}

15
lua/plugins/themes.lua Normal file
View File

@ -0,0 +1,15 @@
return {
{
'projekt0n/github-nvim-theme',
},
{
"Mofiqul/vscode.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require('vscode').setup({
})
vim.cmd('colorscheme vscode')
end,
}
}