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

refactor: convert mapping from viml to lua

This commit is contained in:
jdhao
2022-09-06 21:22:45 +08:00
parent 858848128f
commit 11e6797cb5
4 changed files with 295 additions and 207 deletions

View File

@@ -1,11 +0,0 @@
local keymap = vim.keymap
-- 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>')