Skip to content

Instantly share code, notes, and snippets.

@Earnestly Earnestly/llpp.conf.xml
Last active Mar 6, 2019

Embed
What would you like to do?
Basic vi-like emulation using llpp's new keymapping. Also some other defaults and examples for custom fonts.
<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 &quot;%s&quot;'
path-launcher='$TERMINAL &quot;%s&quot;'>
<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
You can’t perform that action at this time.