mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 10:48:40 +02:00
add: custom keymaps
This commit is contained in:
parent
20e8fc9b55
commit
c045fc1f63
4 changed files with 20 additions and 2 deletions
6
lua/custom/keymaps.lua
Normal file
6
lua/custom/keymaps.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
-- custom key maps disini
|
||||
local function map(mode, l, r, desc)
|
||||
vim.keymap.set(mode, l, r, { desc = desc })
|
||||
end
|
||||
-- click ctrl + Left mouse buttn to run
|
||||
map("t", "<C-LeftMouse>", "<cmd>lua print('Run Link')<cr>", "Run Link")
|
Loading…
Add table
Add a link
Reference in a new issue