删除treesitter配置,以及更换主题
This commit is contained in:
parent
5dc4318fe3
commit
ba8c93735b
@ -4,9 +4,10 @@
|
||||
"copilot.vim": { "branch": "release", "commit": "9e869d29e62e36b7eb6fb238a4ca6a6237e7d78b" },
|
||||
"fzf": { "branch": "master", "commit": "3c34dd82750ca61a1ee7f329ed47fe01e6d1ee30" },
|
||||
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "fdb41229ca39cf2795cbf4e6d04a52b73e6225f5" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "903f0fe542fc35b74f3c09494f9c175346dfa76d" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" },
|
||||
"nord.nvim": { "branch": "master", "commit": "fab04b2dd4b64f4b1763b9250a8824d0b5194b8f" },
|
||||
"nvim-hlchunk": { "branch": "master", "commit": "269ccdb61818c28a3d53b4851f76aed81bbd22fc" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "dcb9a89ab4f0091bf87aed4e6801423d3667f76a" },
|
||||
"vim-commentary": { "branch": "master", "commit": "e87cd90dc09c2a203e13af9704bd0ef79303d755" },
|
||||
|
@ -1,5 +1,6 @@
|
||||
local G, opt = require('G'), {noremap = true}
|
||||
|
||||
-- base
|
||||
G.map({
|
||||
{'n', '<leader>y', '"+y', opt},
|
||||
{'n', '<leader>p', '"+p', opt},
|
||||
@ -46,21 +47,6 @@ G.map({
|
||||
{'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
|
||||
G.map({
|
||||
{"v", "ga", ":EasyAlign<CR>", {}},
|
||||
|
@ -36,7 +36,7 @@ G.opt.wrap = false
|
||||
G.opt.background = 'dark'
|
||||
|
||||
-- 主题
|
||||
G.cmd("colorscheme gruvbox")
|
||||
G.cmd("colorscheme nord")
|
||||
|
||||
-- 文件判断
|
||||
G.cmd("filetype plugin indent on")
|
||||
|
@ -22,6 +22,7 @@ require("lazy").setup({
|
||||
-- 主题插件
|
||||
'nvim-lualine/lualine.nvim',
|
||||
'morhetz/gruvbox',
|
||||
'shaunsingh/nord.nvim',
|
||||
'yaocccc/nvim-hlchunk',
|
||||
|
||||
-- lsp 补全以及语法高亮
|
||||
|
Loading…
Reference in New Issue
Block a user