Ticket #2383 (closed defect: fixed)
MC doesn't put rebinded keys into the search(Ctrl-S, Alt-S)
Reported by: | Dmitry | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.8 |
Component: | mc-core | Version: | 4.7.4 |
Keywords: | vim, key, keybinding, binding | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Hi. I want to use mc with vim keybindings. I rebind j, k, g, G and /. j - is move down in panel, k - move up, g - go home, shift-g(G) - move to the end of the panel, and / it's search (ctrl-s or alt-s in standard key layout). And then if I press /, and then some rebinded keys (like j, k, g, G) they don't put into the search input, they do some action. Can you fix this bug?
Здравсвуйте. Я бы хотел сделать в MC бинды как в vim. Я переделал уже кое-какие клавиши, например j, k, g, G и /. j - переместиться вверх в панели, k - переместиться вниз, g - наверх, G- в самый низ. / использую для поиска. Так вот когда я жму / и начинаю поиск, то клавиши которые я изменил не попадают во ввод а выполняют действие которое им назначено. Не могли бы вы это починить?
Maybe we need history of search, also. When you start searching (Ctrl + S) - is shows you input and then you can switch you recent commands, Ctrl + p - prev, Ctrl + n - next history, or just up/down. To turn of searching we need to press Esc (just like in vim). And when we in the search mode all keys work like simple keys - you type it and it goes to the input, and after we press Esc keys works like commands.