elinks: add config

This commit is contained in:
Dmitry Zakharchenko 2022-10-30 20:53:05 +02:00
parent 16fc4e1848
commit 6814972ae7

View file

@ -0,0 +1,48 @@
set document.colors.background = "1a1a1a"
set document.colors.image = "99cc99"
set document.colors.link = "6699cc"
set document.colors.link_number = "cc99cc"
set document.colors.text = "f2f0ec"
set document.colors.ensure_contrast = 0
set document.colors.use_document_colors = 0
set document.colors.use_link_number_color = 1
set document.history.global.enable = 0
set document.browse.links.active_link.colors.background = "1a1a1a"
set document.browse.links.active_link.colors.text = "ffcc66"
set document.browse.links.active_link.enable_color = 1
set document.browse.links.active_link.invert = 0
set document.browse.links.active_link.bold = 1
set document.browse.scrolling.vertical_step = 1
set terminal.foot.block_cursor = 1
set terminal.foot.colors = 3
set ui.leds.enable = 0
set ui.show_status_bar = 0
set ui.show_title_bar = 0
set ui.colors.color.title.title-text.text = "f2f0ec"
set ui.colors.color.title.title-bar.background = "262626"
bind "main" "j" = "scroll-down"
bind "main" "k" = "scroll-up"
bind "main" "h" = "history-move-back"
bind "main" "l" = "history-move-forward"
bind "main" "J" = "move-link-down"
bind "main" "K" = "move-link-up"
bind "main" "g" = "move-document-start"
bind "main" "G" = "move-document-end"
bind "main" "f" = "toggle-numbered-links"
bind "main" "q" = "really-quit"
set mime.handler.image_viewer.unix.ask = 0
set mime.handler.image_viewer.unix.block = 0
set mime.handler.image_viewer.unix.program = "linkhandler %u"
set mime.type.image.jpg = "image_viewer"
set mime.type.image.jpeg = "image_viewer"
set mime.type.image.png = "image_viewer"
set mime.type.image.gif = "image_viewer"
set mime.type.image.bmp = "image_viewer"