summaryrefslogtreecommitdiff
path: root/core
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
parentff7f42e5b89d6c1cf664ae866f29f790132a7da7 (diff)
update
Diffstat (limited to 'core')
-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
34 34
35colorscheme murphy 35colorscheme murphy
36"colorscheme zellner 36"colorscheme zellner
37
38" Ctrl+A: Move to the beginning of the line in INSERT mode
39inoremap <C-a> <Home>
40
41" Ctrl+E: Move to the end of the line in INSERT mode
42inoremap <C-e> <End>
43
44" Ctrl+A: Move to the beginning of the line in NORMAL mode
45nnoremap <C-a> 0
46
47" Ctrl+E: Move to the end of the line in NORMAL mode
48nnoremap <C-e> $
49
50
51
37EOF 52EOF
38 53
39 54