starter/lua/config/keymaps.lua

17 lines
573 B
Lua
Raw Normal View History

2023-01-07 17:52:40 +08:00
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
2024-09-14 02:39:35 +08:00
-- -- Add any additional keymaps here
--
-- vim.api.nvim_set_keymap(
-- "n", -- Normal mode
-- "<leader>Sk", -- The key combination
-- "<cmd>SomeCommandName<CR>", -- Replace "SomeCommandName" with your desired command
-- { noremap = true, silent = true }
-- )
2024-09-02 09:03:19 +08:00
vim.api.nvim_set_keymap(
"n",
2025-02-21 12:57:44 +08:00
"<^P>",
"<cmd>lua dev_print('Key combo detected!')<CR>",
2024-09-02 09:03:19 +08:00
{ noremap = true, silent = true }
)