mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add lua map module and more mappings
This commit is contained in:
8
lua/custom-map.lua
Normal file
8
lua/custom-map.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local keymap = vim.keymap
|
||||
|
||||
-- Go to the begining and end of current line in insert mode quickly
|
||||
keymap.set('i', '<C-A>', '<HOME>')
|
||||
keymap.set('i', '<C-E>', '<END>')
|
||||
|
||||
-- Delete the character to the right of the cursor
|
||||
keymap.set('i', '<C-D>', '<DEL>')
|
||||
Reference in New Issue
Block a user