Ticket #2383 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

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- в самый низ. / использую для поиска. Так вот когда я жму / и начинаю поиск, то клавиши которые я изменил не попадают во ввод а выполняют действие которое им назначено. Не могли бы вы это починить?

Change History

comment:1 Changed 14 years ago by Dmitry

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.

comment:2 Changed 13 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to 4.8

I think, it was fixed in #2522. Can you check that?

comment:3 Changed 13 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to fixed

Well, I hope it fixed in #2522. If not, feel free to reopen this ticket.

Note: See TracTickets for help on using tickets.