the-lambda-church / dmlenu

a clone of dmenu written in OCaml.
MIT License
46 stars 5 forks source link

Add support for emacs-like and vim-like keybinds #13

Closed Armael closed 4 years ago

Armael commented 4 years ago

This is on top of #12, only the last commit is new.

This adds support for navigation keybinds with Ctrl- for emacs-style ones, and Alt- for vim-like ones (hjkl). This matches what dmenu does.

As an improvement on the side, control sequences do not get printed anymore when the user inputs a Ctrl-something that is not handled (currently that results in borked characters being inserted).

Armael commented 4 years ago

(rebased)