--[[-- File : conf.d/lvim/lua/user/keybindings.lua Author : Jeff Lance Date : 28.12.2023 20:32:45 Last Modified Date: 29.12.2023 22:35:31 Last Modified By : Jeff Lance --]]-- local M = {} M.setup = function() -- ============ -- key mappings -- -- vim-surround shortcuts as example -- vim.api.nvim_set_keymap("n", "sw", "Ysurroundiw", { noremap = true, silent = true }) -- vim.api.nvim_set_keymap("n", "Sw", "YSurroundiw", { noremap = true, silent = true }) -- lvim.leader = ";" lvim.keys.insert_mode[";;"] = "" lvim.keys.normal_mode[""] = "w!" lvim.keys.normal_mode[""] = "undo" lvim.keys.normal_mode[""] = "redo" lvim.keys.normal_mode[""] = ":<" lvim.keys.normal_mode[""] = ":>" lvim.keys.normal_mode[""] = ":FloatermNew --name=term --width=0.8" end return M