From b3b69f21f4a8d0895d751d9472f84bf780e00a75 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 15 Aug 2022 00:22:24 +0800 Subject: [PATCH] update mapping --- lua/custom-map.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/custom-map.lua b/lua/custom-map.lua index 7ca561d..4d88548 100644 --- a/lua/custom-map.lua +++ b/lua/custom-map.lua @@ -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', '', '') keymap.set('i', '', '') +-- Go to beginning of command in command-line mode +keymap.set('c', '', '') + -- Delete the character to the right of the cursor keymap.set('i', '', '')