删除treesitter配置,以及更换主题

This commit is contained in:
newbieQQ 2023-04-29 22:30:25 +08:00
parent 5dc4318fe3
commit ba8c93735b
4 changed files with 5 additions and 17 deletions

View File

@ -4,9 +4,10 @@
"copilot.vim": { "branch": "release", "commit": "9e869d29e62e36b7eb6fb238a4ca6a6237e7d78b" }, "copilot.vim": { "branch": "release", "commit": "9e869d29e62e36b7eb6fb238a4ca6a6237e7d78b" },
"fzf": { "branch": "master", "commit": "3c34dd82750ca61a1ee7f329ed47fe01e6d1ee30" }, "fzf": { "branch": "master", "commit": "3c34dd82750ca61a1ee7f329ed47fe01e6d1ee30" },
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" }, "gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" },
"lazy.nvim": { "branch": "main", "commit": "fdb41229ca39cf2795cbf4e6d04a52b73e6225f5" }, "lazy.nvim": { "branch": "main", "commit": "903f0fe542fc35b74f3c09494f9c175346dfa76d" },
"lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" }, "lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" }, "markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" },
"nord.nvim": { "branch": "master", "commit": "fab04b2dd4b64f4b1763b9250a8824d0b5194b8f" },
"nvim-hlchunk": { "branch": "master", "commit": "269ccdb61818c28a3d53b4851f76aed81bbd22fc" }, "nvim-hlchunk": { "branch": "master", "commit": "269ccdb61818c28a3d53b4851f76aed81bbd22fc" },
"nvim-treesitter": { "branch": "master", "commit": "dcb9a89ab4f0091bf87aed4e6801423d3667f76a" }, "nvim-treesitter": { "branch": "master", "commit": "dcb9a89ab4f0091bf87aed4e6801423d3667f76a" },
"vim-commentary": { "branch": "master", "commit": "e87cd90dc09c2a203e13af9704bd0ef79303d755" }, "vim-commentary": { "branch": "master", "commit": "e87cd90dc09c2a203e13af9704bd0ef79303d755" },

View File

@ -1,5 +1,6 @@
local G, opt = require('G'), {noremap = true} local G, opt = require('G'), {noremap = true}
-- base
G.map({ G.map({
{'n', '<leader>y', '"+y', opt}, {'n', '<leader>y', '"+y', opt},
{'n', '<leader>p', '"+p', opt}, {'n', '<leader>p', '"+p', opt},
@ -46,21 +47,6 @@ G.map({
{'n', '<right>', ':vertical resize +5<CR>', opt}, {'n', '<right>', ':vertical resize +5<CR>', opt},
}) })
-- lazygit
G.map({
{'n', '<leader>g', ':w<CR>:LazyGit<CR>', {}},
})
G.map({
-- easymotion
{'v', 's', '<Plug>(easymotion-bd-f)', {}},
{'n', 's', '<Plug>(easymotion-overwin-f)', {}},
{'n', '<leader>f', '<Plug>(easymotion-overwin-f2)',{}},
})
--EasyAlign --EasyAlign
G.map({ G.map({
{"v", "ga", ":EasyAlign<CR>", {}}, {"v", "ga", ":EasyAlign<CR>", {}},

View File

@ -36,7 +36,7 @@ G.opt.wrap = false
G.opt.background = 'dark' G.opt.background = 'dark'
-- 主题 -- 主题
G.cmd("colorscheme gruvbox") G.cmd("colorscheme nord")
-- 文件判断 -- 文件判断
G.cmd("filetype plugin indent on") G.cmd("filetype plugin indent on")

View File

@ -22,6 +22,7 @@ require("lazy").setup({
-- 主题插件 -- 主题插件
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
'morhetz/gruvbox', 'morhetz/gruvbox',
'shaunsingh/nord.nvim',
'yaocccc/nvim-hlchunk', 'yaocccc/nvim-hlchunk',
-- lsp 补全以及语法高亮 -- lsp 补全以及语法高亮