update my setting

This commit is contained in:
newbieQQ 2023-11-15 13:16:34 +08:00
parent 676663312a
commit f75aa5ec60
3 changed files with 4 additions and 10 deletions

View File

@ -1,16 +1,16 @@
return { return {
'kyazdani42/nvim-web-devicons', 'kyazdani42/nvim-web-devicons',
{ {
'kyazdani42/nvim-tree.lua', 'https://git.qyhhh.top/newbieQQ/nvim-tree.lua',
config = function () config = function ()
G.map({ G.map({
{"n", "<c-e>", ":NvimTreeToggle<CR>", {noremap = true}}, {"n", "<c-e>", ":NvimTreeToggle<CR>", {noremap = true}},
}) })
require'nvim-tree'.setup { require'nvim-tree'.setup {
sort_by = "case_sensitive", sort_by = "case_sensitive",
view = { width = 30, }, view = { width = 30, },
filters = { dotfiles = true, }, filters = { dotfiles = true, },
git = { enable = true }, git = { enable = true },
-- on_attach = my_on_attach, -- on_attach = my_on_attach,
} }

View File

@ -8,8 +8,6 @@ return {
--格式整理 --格式整理
{ {
'junegunn/vim-easy-align', 'junegunn/vim-easy-align',
lazy = true,
cmd = "EasyAlign",
config = function () config = function ()
G.map({ G.map({
{"v", "ga", ":EasyAlign<CR>", {noremap = true}}, {"v", "ga", ":EasyAlign<CR>", {noremap = true}},

View File

@ -1,13 +1,9 @@
return { return {
"phaazon/hop.nvim", "phaazon/hop.nvim",
branch = "v2", branch = "v2",
cmd = {
"HopChar1MW",
"HopChar2MW",
},
keys = { keys = {
"f","F","t","T", "f","F","t","T",
"<leader>f", "<leader>F" "<c-f>"
}, },
lazy = true, lazy = true,
config = function () config = function ()