return { { "smart-splits.nvim", after = function(_) local map = vim.keymap.set map("n", "", require("smart-splits").move_cursor_left) map("n", "", require("smart-splits").move_cursor_down) map("n", "", require("smart-splits").move_cursor_up) map("n", "", require("smart-splits").move_cursor_right) map("n", "", require("smart-splits").move_cursor_left) map("n", "", require("smart-splits").move_cursor_down) map("n", "", require("smart-splits").move_cursor_up) map("n", "", require("smart-splits").move_cursor_right) map("n", "", require("smart-splits").resize_left) map("n", "", require("smart-splits").resize_down) map("n", "", require("smart-splits").resize_up) map("n", "", require("smart-splits").resize_right) map("n", "", require("smart-splits").resize_left) map("n", "", require("smart-splits").resize_down) map("n", "", require("smart-splits").resize_up) map("n", "", require("smart-splits").resize_right) end, }, { "which-key.nvim", event = "DeferredUIEnter", after = function(_) require("which-key").setup() require("which-key").add({ { "s", group = "search" }, { mode = { "n", "v" }, { "g", group = "git" }, { "gh", group = "hunk" }, { "S", group = "surround" }, }, }) end, }, }