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

View File

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

View File

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