This commit is contained in:
js0ny 2025-11-07 12:19:39 +00:00
parent 64d100c252
commit 5921775239
13 changed files with 42 additions and 100 deletions

View file

@ -30,12 +30,12 @@ return {
-- end,
-- dependencies = { "nvim-telescope/telescope.nvim" },
-- },
-- {
-- "NeogitOrg/neogit",
-- config = true,
-- cmd = {
-- "Neogit",
-- },
-- },
{ import = "plugins.mod.neo-tree" },
{
"NeogitOrg/neogit",
config = true,
cmd = {
"Neogit",
},
},
-- { import = "plugins.mod.neo-tree" },
}

View file

@ -40,7 +40,6 @@ return {
dashboard.button("p", "󰈞 查找项目", "<cmd>Telescope projects<CR>"),
dashboard.button("h", " 历史文件", "<cmd>Telescope oldfiles<CR>"),
dashboard.button("l", " 加载会话", "<cmd>SessionSearch<CR>"),
-- FIXME: This does not work on Windows - Make it more portable
dashboard.button("c", " 转到设置", "<cmd>Telescope find_files cwd=~/.config/nvim<CR>"),
dashboard.button("SPC q", "󱊷 退出", "<cmd>qa<CR>"),
}

View file

@ -88,13 +88,13 @@ return {
img_dirs = { "90 - System/Assets" },
},
},
-- keys = {
-- {
-- "<leader>ft",
-- function()
-- require("snacks").explorer()
-- end,
-- desc = "Toggle File Explorer",
-- },
-- },
keys = {
{
"<leader>ft",
function()
require("snacks").explorer()
end,
desc = "Toggle File Explorer",
},
},
}

View file

@ -124,5 +124,13 @@
"ctrl-w l": "workspace::ActivatePaneRight",
"ctrl-w j": "workspace::ActivatePaneDown"
}
},
// Sneak
{
"context": "vim_mode == normal || vim_mode == visual",
"bindings": {
"s": "vim::PushSneak",
"shift-s": "vim::PushSneakBackward"
}
}
]