aboutsummaryrefslogtreecommitdiff
path: root/src/binds.c
AgeCommit message (Collapse)Author
2017-11-28Tweak config option names & capitalisationHarry Jeffery
2017-11-28Simplify and refactor ini usageHarry Jeffery
Switch imv to use a more mature ini implementation, and also simplify the ini syntax in the config files.
2017-11-23Require <> around all keys in a bindHarry Jeffery
This is partly for consistency, party to resolve a bug where binding [ in the config file would trick the ini parser into thinking it was reading a section header, leading to the bind not being applied.
2017-11-23Add default_binds option to prevent conflictsHarry Jeffery
2017-11-23Implement key binding logicHarry Jeffery
This code is *heavily* based on work I previously did for aerc. Since I'm the author of that code, and therefore the copyright holder, I'm able to heavily re-use logic. Of course, because of the differences between termbox and SDL's event logic and key naming features, there's some significant differences in how binds are handled, and how keys are named.