|
9 | 9 |
|
10 | 10 | -- More deterministic short distance jumps |
11 | 11 | -- https://nanotipsforvim.prose.sh/vertical-navigation-%E2%80%93-without-relative-line-numbers |
12 | | -k("{", ":keepjumps normal! 6k<cr>", { desc = "Jump up 6 lines", silent = true }) |
13 | | -k("}", ":keepjumps normal! 6j<cr>", { desc = "Jump down 6 lines", silent = true }) |
| 12 | +k("{", ":normal! 6k<cr>", { desc = "Jump up 6 lines", silent = true }) |
| 13 | +k("}", ":normal! 6j<cr>", { desc = "Jump down 6 lines", silent = true }) |
14 | 14 |
|
15 | 15 | -- Store relative line number jumps in the jumplist. |
16 | 16 | -- For small jumps, use visual lines. |
@@ -152,8 +152,8 @@ k("[<c-i>", function() |
152 | 152 | end, { desc = "Search current word (from beginning of file)" }) |
153 | 153 |
|
154 | 154 | -- Don't store jumps when browsing search results |
155 | | -k("n", ":keepjumps normal! n<cr>", { desc = "Search: Next" }) |
156 | | -k("N", ":keepjumps normal! N<cr>", { desc = "Search: Previous" }) |
| 155 | +k("n", ":normal! n<cr>", { desc = "Search: Next" }) |
| 156 | +k("N", ":normal! N<cr>", { desc = "Search: Previous" }) |
157 | 157 |
|
158 | 158 | -- }}} |
159 | 159 |
|
|
0 commit comments