From 7d94f4604dd3914a82751d42bba04fb9d7d93148 Mon Sep 17 00:00:00 2001 From: zeekling Date: Sat, 8 Jun 2024 14:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.lua | 5 +---- lua/lazynvim-init.lua | 1 + lua/plugins/help.lua | 13 ++++++++----- lua/plugins/plugin-base.lua | 4 +--- lua/plugins/themes.lua | 15 +++++++++++++++ 5 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 lua/plugins/themes.lua diff --git a/init.lua b/init.lua index 7e01e25..3154d03 100644 --- a/init.lua +++ b/init.lua @@ -1,8 +1,5 @@ vim.g.mapleader = " " - +vim.o.background = "light" local vim = vim -vim.colorscheme = "oceanic-next" - require("lazynvim-init") -require("keybindings") diff --git a/lua/lazynvim-init.lua b/lua/lazynvim-init.lua index 17e7c1e..0eae6f1 100644 --- a/lua/lazynvim-init.lua +++ b/lua/lazynvim-init.lua @@ -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({ diff --git a/lua/plugins/help.lua b/lua/plugins/help.lua index a746388..8ecddff 100644 --- a/lua/plugins/help.lua +++ b/lua/plugins/help.lua @@ -15,6 +15,11 @@ return { n={"BufferLineCycleNext", "Go to next buffer"}, d={"bd", "delete current buffer"} }, + d = { + name="dirTree", + s={"NvimTreeToggle", "show dir tree on left"}, + c={"NvimTreeClose", "hidden dir tree on left"} + }, m = { name="Markdown", k={ @@ -23,11 +28,9 @@ return { c={"MarkdownPreviewStop", "MarkdownPreviewStop"} } }, - d = { - name="dirTree", - s={"NvimTreeToggle", "show dir tree on left"}, - c={"NvimTreeClose", "hidden dir tree on left"} - } + s = { + name="Search" + } } }, {silent = true, noremap = true}) wk.setup() diff --git a/lua/plugins/plugin-base.lua b/lua/plugins/plugin-base.lua index f3403c2..7694bf1 100644 --- a/lua/plugins/plugin-base.lua +++ b/lua/plugins/plugin-base.lua @@ -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 = {}} } diff --git a/lua/plugins/themes.lua b/lua/plugins/themes.lua new file mode 100644 index 0000000..b165968 --- /dev/null +++ b/lua/plugins/themes.lua @@ -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, + } +}