From bfb344b8b3934b1626d4d5f246471a8786060fee Mon Sep 17 00:00:00 2001 From: Cyrus Yip <60951091+CyrusYip@users.noreply.github.com> Date: Fri, 21 Jan 2022 00:35:39 +0800 Subject: [PATCH] add tip to make `hjkl` as "jump" commands --- ch05_moving_in_file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch05_moving_in_file.md b/ch05_moving_in_file.md index 3a22903..d02a6ad 100644 --- a/ch05_moving_in_file.md +++ b/ch05_moving_in_file.md @@ -336,7 +336,7 @@ I don't recommend memorizing this list. A good rule of thumb is, any motion that For more, check out `:h jump-motions`. -Why are jumps useful? Because you can navigate the jump list with `Ctrl-O` to move up the jump list and `Ctrl-I` to move down the jump list. You can jump across different files, which I will discuss more in the next part. +Why are jumps useful? Because you can navigate the jump list with `Ctrl-O` to move up the jump list and `Ctrl-I` to move down the jump list. `hjkl` are not "jump" commands, but you can manually add the current location to jump list with `m'` before movement. For example, `m'5j` adds current location to jump list and goes down 5 lines, and you can come back with `Ctrl-O`. You can jump across different files, which I will discuss more in the next part. ## Learn Navigation the Smart Way