From e7100dc87434d933fd8268e5bf70080b627750c5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 11 Nov 2021 13:29:42 +1100 Subject: [PATCH] Recognize both and as forward jump Now that Kakoune opts into extended key reporting, is correctly reported and hence needs to be mapped to forward jump. We still need to keep mapped to it for legacy terminals. Should fix #4333 --- src/normal.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/normal.cc b/src/normal.cc index 8d2ed82c..a512f8d0 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -2355,7 +2355,8 @@ static constexpr HashMap { {alt('>')}, {"indent, including empty lines", indent} }, { {alt('<')}, {"deindent, not including incomplete indent", deindent} }, - { {/*ctrl('i')*/Key::Tab}, {"jump forward in jump list",jump} }, // until we can distinguish tab a ctrl('i') + { {ctrl('i')}, {"jump forward in jump list",jump} }, + { {Key::Tab}, {"jump forward in jump list",jump} }, // legacy terminals encode / the same way { {ctrl('o')}, {"jump backward in jump list", jump} }, { {ctrl('s')}, {"push current selections in jump list", push_selections} },