This commit is contained in:
QQ 2023-10-01 09:21:32 +08:00
parent dc74d3edf4
commit 3d439de0d0
11 changed files with 26 additions and 21 deletions

2
.gitignore vendored
View File

@ -1,3 +1 @@
lua/lazy/*
lazy-lock.json
nvim

View File

@ -16,20 +16,19 @@ G.opt.rtp:prepend(lazypath)
if vim.g.vscode then
require('Plugin.Imchange')
require('vscode.vscode')
else
require('neovim.neovim')
end
require('normal.normal')
-- require('vscode')
-- require('Plugin.coc')
require('Plugin.lualine')
require('Plugin.Imchange')
require('Plugin.NERDTree')
-- require('Plugin.Imchange')
-- require('Plugin.lualine')
-- require('Plugin.Imchange')
-- require('Plugin.NERDTree')

View File

@ -1,3 +1,4 @@
require('neovim.plugsettings.plug')
require('neovim.keymap')
require('neovim.options')

7
lua/neovim/options.lua Normal file
View File

@ -0,0 +1,7 @@
local G = require('G')
-- 主题
G.cmd("colorscheme nord")
-- 背景
G.opt.background = 'dark'

View File

@ -1,5 +1,17 @@
require("lazy").setup({
-- github copilot
'github/copilot.vim',
-- fzf
'vijaymarupudi/nvim-fzf',
-- lualine
'nvim-lualine/lualine.nvim',
-- 主题插件
'morhetz/gruvbox',
'shaunsingh/nord.nvim',
-- nerdtree
{
'preservim/nerdtree',

View File

@ -36,11 +36,6 @@ G.opt.incsearch = true
G.opt.textwidth = 999
G.opt.wrap = false
-- 背景
G.opt.background = 'dark'
-- 主题
G.cmd("colorscheme nord")
-- 文件判断
G.cmd("filetype plugin indent on")

View File

@ -2,10 +2,7 @@
require("lazy").setup({
-- 主题插件
'nvim-lualine/lualine.nvim',
'morhetz/gruvbox',
'shaunsingh/nord.nvim',
-- 括号箭头
'yaocccc/nvim-hlchunk',
-- surround 和 wildfire 配合有神奇的效果
@ -19,13 +16,9 @@ require("lazy").setup({
-- 多光标
'terryma/vim-multiple-cursors',
-- fzf
'vijaymarupudi/nvim-fzf',
-- github copilot
-- 'github/copilot.vim',
-- 项目管理 {
-- 'Shatur/neovim-session-manager',

0
lua/vscode/keymap.lua Normal file
View File

0
lua/vscode/options.lua Normal file
View File

View File

0
lua/vscode/vscode.lua Normal file
View File