From 93ecc605e60168af4fa9e82c03784336826cc0b5 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 16 Oct 2024 21:42:08 -0400 Subject: [PATCH] Clarify the comments for ctrl+arrows --- vim/config/keyboard.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index e9ee3e1..c972dfb 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -123,6 +123,7 @@ " " | (N) -> move four lines up " | (N) -> move four lines down +" " | (N) -> move one word right " | (N) -> move one word left " @@ -489,12 +490,15 @@ nnoremap = + nnoremap _ - - "map ctrl+direction to shifting the screen in that direction + "map ctrl+up/down to moving the cursor up and down by 4 lines nnoremap 4k nnoremap 4j + + "map ctrl+right/left to moving the cursor left and right by one word nnoremap nnoremap + "map alt+direction to moving the viewport in that direction noremap nnoremap xnoremap