1
0

Update home/.config/lvim/lua/user/functions.lua

Update home/.config/lvim/lua/user/keybindings.lua
Update home/.config/lvim/lua/user/luasnip-helper-funcs.lua
Update home/.config/lvim/lua/user/plugins.lua
Update home/.config/lvim/lua/user/whichkey.lua
This commit is contained in:
2024-02-24 20:06:05 +01:00
parent 33a166cf01
commit 3fab56646f
5 changed files with 69 additions and 34 deletions

View File

@@ -12,11 +12,11 @@ local M = {}
M.setup = function()
-- ============
-- key mappings
-- key mappings examples using nvim or lvim api.
--
-- vim-surround shortcuts as example
-- vim.api.nvim_set_keymap("n", "sw", "<Plug>Ysurroundiw", { noremap = true, silent = true })
-- vim.api.nvim_set_keymap("n", "Sw", "<Plug>YSurroundiw", { noremap = true, silent = true })
-- lvim.keys.normal_mode["<C-t>"] = ":FloatermToggle terminal<CR>"
--
lvim.leader = ";"
@@ -28,7 +28,6 @@ M.setup = function()
lvim.keys.normal_mode["<C-r>"] = "<CMD>redo<CR>"
lvim.keys.normal_mode["<C-[>"] = ":<<CR>"
lvim.keys.normal_mode["<C-]>"] = ":><CR>"
lvim.keys.normal_mode["<C-t>"] = ":FloatermNew --name=term --width=0.8"
end