summaryrefslogtreecommitdiff
path: root/core/vim.sh
diff options
context:
space:
mode:
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