Closed guiniol closed 9 years ago
When I rebind C-j, the binding for RET is also changed. When I bind RET, neither binding is changed.
REPRODUCE CASE 1: Put this in ~/.percol.d/rc.py:
~/.percol.d/rc.py
percol.import_keymap({ "C-j" : lambda percol: percol.command.select_next(), })
While using percol, press RET
Expected result: selected entry is printed to stdout (default RET binding) Actual result: the next entry becomes selected
REPRODUCE CASE 2: Put this in ~/.percol.d/rc.py:
percol.import_keymap({ "RET" : lambda percol: percol.command.select_next(), })
Expected result: the next entry becomes selected Actual result: selected entry is printed to stdout (default C-j binding)
Wow. Awesome! Thanks.
Actually, RET doesn't seem to work at all anymore, opened issue #81
When I rebind C-j, the binding for RET is also changed. When I bind RET, neither binding is changed.
REPRODUCE CASE 1: Put this in
~/.percol.d/rc.py
:While using percol, press RET
Expected result: selected entry is printed to stdout (default RET binding) Actual result: the next entry becomes selected
REPRODUCE CASE 2: Put this in
~/.percol.d/rc.py
:While using percol, press RET
Expected result: the next entry becomes selected Actual result: selected entry is printed to stdout (default C-j binding)