add some keymaps

This commit is contained in:
2025-10-21 21:49:34 +09:00
parent 6af119073f
commit f087fd2bdb
4 changed files with 27 additions and 1 deletions

View File

@@ -3,5 +3,8 @@ return {
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
keys = {
{ "<leader>dvo", "<Cmd>DiffviewOpen<CR>", desc = "Open Diff view" },
{ "<leader>dvc", "<Cmd>DiffviewClose<CR>", desc = "Close Diff view" },
{ "<leader>dvf", "<Cmd>DiffviewFocusFiles<CR>", desc = "Focus file in Diff view" },
},
}

9
lua/plugins/neotest.lua Normal file
View File

@@ -0,0 +1,9 @@
return {
"nvim-neotest/neotest",
dependencies = {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
"nvim-treesitter/nvim-treesitter"
}
}