astronvim_config/lua/plugins/mappings.lua
2026-02-02 10:32:31 +01:00

21 lines
790 B
Lua

return {
{
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
mappings = {
n = {
["<Leader>f/"] = require("telescope.builtin").current_buffer_fuzzy_find,
-- for Neo layout
["<C-S>"] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" },
["<C-N>"] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" },
["<C-R>"] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" },
["<C-T>"] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" },
["<C-C>"] = { function() vim.cmd "redo" end, desc = "Redo" },
},
},
},
},
}