1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update mapping

This commit is contained in:
jdhao 2022-08-15 00:22:24 +08:00
parent f491e26676
commit b3b69f21f4

View File

@ -1,8 +1,11 @@
local keymap = vim.keymap
-- Go to the begining and end of current line in insert mode quickly
-- Go to the beginning and end of current line in insert mode quickly
keymap.set('i', '<C-A>', '<HOME>')
keymap.set('i', '<C-E>', '<END>')
-- Go to beginning of command in command-line mode
keymap.set('c', '<C-A>', '<HOME>')
-- Delete the character to the right of the cursor
keymap.set('i', '<C-D>', '<DEL>')