dmenu tab completion

asked 2015-05-31 22:14:38 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Is there any way to get dmenu's tab-completion to behave like bash? I am so used to bash's stemming rules that dmenu trips me up. The manpage says " Tab Copy the selected item to the input field.", but I want it to instead do prefix-matching, especially in that it should fill in the maximum number of characters shared by all matches. Is there some wrapper script or something that can trick it into doing this?

edit retag flag offensive close merge delete



A wrapper script won't do since you need to hook into the actual key events. Unless there is some fork of dmenu out there for this, I think this isn't possible. Either way, dmenu isn't an i3 product, so maybe you should also ask this in other places.

Airblader gravatar imageAirblader ( 2015-06-01 05:19:14 +0000 )edit