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:
parent
f491e26676
commit
b3b69f21f4
@ -1,8 +1,11 @@
|
|||||||
local keymap = vim.keymap
|
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-A>', '<HOME>')
|
||||||
keymap.set('i', '<C-E>', '<END>')
|
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
|
-- Delete the character to the right of the cursor
|
||||||
keymap.set('i', '<C-D>', '<DEL>')
|
keymap.set('i', '<C-D>', '<DEL>')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user