Created
October 4, 2017 21:23
-
-
Save pkillnine/f1aa4e1d24cecf5f08666fa8b0879db1 to your computer and use it in GitHub Desktop.
insert mode readline bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.bind('<ctrl-h>', 'fake-key <backspace>', mode='insert') | |
config.bind('<ctrl-f>', 'fake-key <right>', mode='insert') | |
config.bind('<ctrl-b>', 'fake-key <left>', mode='insert') | |
config.bind('<ctrl-w>', 'fake-key <ctrl-backspace>', mode='insert') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment