Ticket #2654 (new enhancement)

Opened 13 years ago

Last modified 13 years ago

It is possible to get 'history-search-backward' like behavior in MC prompt?

Reported by: gavenkoa Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: 4.7.5.4
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

GNU Midnight Commander, версия 4.7.5.4

I have:

# UP/DOWN filter history by typed string as prefix.
"\e[A": history-search-backward
"\C-p": history-search-backward
"\e[B": history-search-forward
"\C-n": history-search-forward

in ~/.inputrc and happy using this in Bash.

But I want to have same in Midnight Commander too...

For example I type cd UP and see previously typed:

cd /#ftp:dom.office.int
cd ~/devel

Currently I use M-h and navigate through large history list... This is a bit inconvenient...

Note completion performed from list of MC commands (inputhistory, commandhistory, so can include MC buildin commands...) so there are no access to bash readline and some commands (like cd /#ftp:)

I look for this feature in man mc by keyword *history* but did not find anything related.

Change History

comment:1 Changed 13 years ago by gavenkoa

Correction. Feature that I look is a limiting history listening to supplied typed prefix.

comment:2 Changed 13 years ago by gavenkoa

I ask related question at It is possible to get 'history-search-backward' like behavior in MC prompt? but that place is wrong for such question...

comment:3 Changed 13 years ago by gotar

  • Cc gotar@… added
Note: See TracTickets for help on using tickets.