aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-09-06 21:26:12 +0800
committerGitHub <noreply@github.com>2022-09-06 21:26:12 +0800
commit5a69d43cab69935d05933f413f57691cd690e937 (patch)
tree67dcf63aba6effc83c784778b0d7d62fa8b584d4 /lua
parent858848128f17121c9b00edb5ef4b89f4cb47ab09 (diff)
parent11e6797cb5cc5cadbd148e20308818c68aabd335 (diff)
Merge pull request #92 from jdhao/lua-map
refactor: convert mapping from viml to lua
Diffstat (limited to 'lua')
-rw-r--r--lua/custom-map.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/lua/custom-map.lua b/lua/custom-map.lua
deleted file mode 100644
index 4d88548..0000000
--- a/lua/custom-map.lua
+++ /dev/null
@@ -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>')