-
-
Save troyp/39bd9519bc6f8cc6f088c44a287a7288 to your computer and use it in GitHub Desktop.
Basic vi-like emulation using llpp's new keymapping. Also some other defaults and examples for custom fonts.
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
<llppconfig> | |
<ui-font size='18'> | |
<![CDATA[/home/earnest/.local/share/fonts/Fontin-Regular.otf]]> | |
</ui-font> | |
<defaults zoom='100' | |
auto-scroll-step='12' | |
horizontal-scroll-step='24' | |
case-insensitive-search='true' | |
uri-launcher='$BROWSER "%s"' | |
path-launcher='$TERMINAL "%s"'> | |
<keymap mode='global'> | |
<!-- Use emacs style motion in menus --> | |
<map in='ctrl-n' out='down'/> | |
<map in='ctrl-p' out='up'/> | |
<map in='ctrl-f' out='pgdown'/> | |
<map in='ctrl-b' out='pgup'/> | |
<map in='ctrl-[' out='esc'/> | |
<map in='ctrl-c' out='esc'/> | |
</keymap> | |
<keymap mode='birdseye'> | |
<map in='h' out='left'/> | |
<map in='j' out='down'/> | |
<map in='k' out='up'/> | |
<map in='l' out='right'/> | |
<map in='u' out='ctrl-k'/> | |
<map in='d' out='ctrl-j'/> | |
<map in='ctrl-u' out='ctrl-k'/> | |
<map in='ctrl-d' out='ctrl-j'/> | |
<map in='f' out='pgdown'/> | |
<map in='b' out='pgup'/> | |
<map in='f11' out='f'/> | |
</keymap> | |
<keymap mode='view'> | |
<map in='h' out='left'/> | |
<map in='j' out='down'/> | |
<map in='k' out='up'/> | |
<map in='l' out='right'/> | |
<map in='u' out='ctrl-k'/> | |
<map in='d' out='ctrl-j'/> | |
<map in='ctrl-u' out='ctrl-k'/> | |
<map in='ctrl-d' out='ctrl-j'/> | |
<map in='f' out='pgdown'/> | |
<map in='b' out='pgup'/> | |
<map in='tab' out='o'/> | |
<map in='f11' out='f'/> | |
</keymap> | |
</defaults> | |
</llppconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment