summaryrefslogtreecommitdiff
path: root/core/vim.sh
diff options
context:
space:
mode:
authorhc <hc@email.ch>2025-01-26 12:14:06 +0800
committerhc <hc@email.ch>2025-01-26 12:14:06 +0800
commiteabf5b889b42ac79c021a692c6bcdb74fafa5c15 (patch)
treeb4e7ab0de8706274af346323cac79d0d57e110c5 /core/vim.sh
parentff7f42e5b89d6c1cf664ae866f29f790132a7da7 (diff)
update
Diffstat (limited to 'core/vim.sh')
-rwxr-xr-xcore/vim.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/vim.sh b/core/vim.sh
index c350962..65378ec 100755
--- a/core/vim.sh
+++ b/core/vim.sh
@@ -34,6 +34,21 @@ endif
colorscheme murphy
"colorscheme zellner
+
+" Ctrl+A: Move to the beginning of the line in INSERT mode
+inoremap <C-a> <Home>
+
+" Ctrl+E: Move to the end of the line in INSERT mode
+inoremap <C-e> <End>
+
+" Ctrl+A: Move to the beginning of the line in NORMAL mode
+nnoremap <C-a> 0
+
+" Ctrl+E: Move to the end of the line in NORMAL mode
+nnoremap <C-e> $
+
+
+
EOF