优化主题
This commit is contained in:
parent
4132ab5379
commit
7d94f4604d
5
init.lua
5
init.lua
@ -1,8 +1,5 @@
|
|||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
vim.o.background = "light"
|
||||||
local vim = vim
|
local vim = vim
|
||||||
|
|
||||||
vim.colorscheme = "oceanic-next"
|
|
||||||
|
|
||||||
require("lazynvim-init")
|
require("lazynvim-init")
|
||||||
require("keybindings")
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
vim.wo.number = true
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
|
@ -15,6 +15,11 @@ return {
|
|||||||
n={"<cmd>BufferLineCycleNext<cr>", "Go to next buffer"},
|
n={"<cmd>BufferLineCycleNext<cr>", "Go to next buffer"},
|
||||||
d={"<cmd>bd<cr>", "delete current 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 = {
|
m = {
|
||||||
name="Markdown",
|
name="Markdown",
|
||||||
k={
|
k={
|
||||||
@ -23,11 +28,9 @@ return {
|
|||||||
c={"<cmd>MarkdownPreviewStop<cr>", "MarkdownPreviewStop"}
|
c={"<cmd>MarkdownPreviewStop<cr>", "MarkdownPreviewStop"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
d = {
|
s = {
|
||||||
name="dirTree",
|
name="Search"
|
||||||
s={"<cmd>NvimTreeToggle<cr>", "show dir tree on left"},
|
}
|
||||||
c={"<cmd>NvimTreeClose<cr>", "hidden dir tree on left"}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}, {silent = true, noremap = true})
|
}, {silent = true, noremap = true})
|
||||||
wk.setup()
|
wk.setup()
|
||||||
|
@ -120,9 +120,6 @@ return {
|
|||||||
"ray-x/cmp-treesitter",
|
"ray-x/cmp-treesitter",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"mhartington/oceanic-next",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
@ -165,5 +162,6 @@ return {
|
|||||||
{
|
{
|
||||||
"azabiong/vim-highlighter",
|
"azabiong/vim-highlighter",
|
||||||
},
|
},
|
||||||
|
{"stevearc/dressing.nvim", opts = {}}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
15
lua/plugins/themes.lua
Normal file
15
lua/plugins/themes.lua
Normal 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,
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user