diff options
| author | hc <hc@email.ch> | 2025-01-26 12:14:06 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2025-01-26 12:14:06 +0800 |
| commit | eabf5b889b42ac79c021a692c6bcdb74fafa5c15 (patch) | |
| tree | b4e7ab0de8706274af346323cac79d0d57e110c5 /core/vim.sh | |
| parent | ff7f42e5b89d6c1cf664ae866f29f790132a7da7 (diff) | |
update
Diffstat (limited to 'core/vim.sh')
| -rwxr-xr-x | core/vim.sh | 15 |
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 | ||
| 35 | colorscheme murphy | 35 | colorscheme murphy |
| 36 | "colorscheme zellner | 36 | "colorscheme zellner |
| 37 | |||
| 38 | " Ctrl+A: Move to the beginning of the line in INSERT mode | ||
| 39 | inoremap <C-a> <Home> | ||
| 40 | |||
| 41 | " Ctrl+E: Move to the end of the line in INSERT mode | ||
| 42 | inoremap <C-e> <End> | ||
| 43 | |||
| 44 | " Ctrl+A: Move to the beginning of the line in NORMAL mode | ||
| 45 | nnoremap <C-a> 0 | ||
| 46 | |||
| 47 | " Ctrl+E: Move to the end of the line in NORMAL mode | ||
| 48 | nnoremap <C-e> $ | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 37 | EOF | 52 | EOF |
| 38 | 53 | ||
| 39 | 54 | ||
