-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opt-in Esc+n 'like-in-mc' input hack #2317
Comments
Проблема слабоактуальная - для случая урезанных клавиатур без ряда f1...f10 и для людей привыкших в Midnight Commander к традиционному Esc+цифра, всплывала несколько раз, например цитата из #814 (comment)
Также про это в тг-чате раз в десяток месяцев регулярно вопрошает наш майнтейнер, например из
Можно опционально прикрутить по ключику командной строки или параметру в конфиге (но я совсем не понимаю как костылить обработку Esc с ожиданием цифры в текущем коде far2l)? Такое можно обходить макросами вида
но это распальцовка ничем не лучше стандартных Fn+цифра на маковских клавиатурах (маководы поправьте, если в чём ошибаюсь). |
Problem is still relevant as our Debian maintainer, @alexmyczko, suffers from it. Btw, I am sure like-in-mc solution it is not so hard to implement, I just do not know how to do it in best way. It's better for @elfmz to choose place of the code in which it should be done, and proper method of handling with minimum false-negative and false-positive cases possible. |
Actually, putting
in
solves an issue: You should press |
The only limitation is that this trick will not work in iTerm2 as it has own extended input mode in which |
Mac users have problems with Fn keys, its not easy to use them in far2l. They often ask for special mode then Esc and numeric key pressed simultaneously emulate Fn keys.
But even in mc this feature doesn't work reliable. It requires saving a number after Esc or after several consecutive Escs, and then canceling these Escs.
I suggest considering other possible solutions:
*
,+
and-
keys, map 1..0 to F1..F10 if command line is empty (if --mapnumkeys, for example, is specified)The text was updated successfully, but these errors were encountered: