From 0abd9af449e88630c7c96b0c1dc773374ff7aa27 Mon Sep 17 00:00:00 2001 From: Maxim Shishmarev Date: Tue, 19 Nov 2019 11:35:25 +1100 Subject: [PATCH] Jump words with Ctrl and arrow keys --- js/views/conversation_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index eac739ed5..4ba95d709 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -2418,7 +2418,7 @@ // Alt would normally make the cursor go until the next whitespace, // but we need to take the presence of a mention into account - if (event.altKey) { + if (event.altKey || event.ctrlKey) { const searchFrom = isLeft ? posToChange - 1 : posToChange + 1; const toSearch = isLeft ? text.substr(0, searchFrom)