.elinks_conf 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. ## ELinks 0.12pre6 configuration file
  2. ## This is ELinks configuration file. You can edit it manually,
  3. ## if you wish so; this file is edited by ELinks when you save
  4. ## options through UI, however only option values will be altered
  5. ## and missing options will be added at the end of file; if option
  6. ## is not written in this file, but in some file included from it,
  7. ## it is NOT counted as missing. Note that all your formatting,
  8. ## own comments and so on will be kept as-is.
  9. ##
  10. ## Obviously, if you don't like what ELinks is going to do with
  11. ## this file, you can change it by altering the config.saving_style
  12. ## option. Come on, aren't we friendly guys after all?
  13. ##############################
  14. # Configuration handling options.
  15. set config.saving_style_w = 1
  16. # Cookies options.
  17. set cookies.accept_policy = 0
  18. set cookies.max_age = 0
  19. set cookies.paranoid_security = 1
  20. set cookies.save = 0
  21. set cookies.resave = 0
  22. # Protocol specific options.
  23. set protocol.rewrite.smart.d = "https://www.duckduckgo.com/html?q=%s"
  24. set protocol.rewrite.smart.a = "https://wiki.archlinux.org/index.php?search=%s"
  25. # User interface options.
  26. set ui.language = "System"
  27. #set ui.show_ip = 1
  28. set ui.success_msgbox = 0
  29. set ui.colors.color.dialog.text.text = "black"
  30. set ui.colors.color.dialog.text.background = "white"
  31. set ui.colors.color.dialog.generic.text = "pink"
  32. set ui.colors.color.dialog.field-text.text = "yellow"
  33. set ui.colors.color.dialog.frame.background = "white"
  34. set ui.colors.color.title.title-bar.text = "black"
  35. set ui.colors.color.title.title-bar.background = "yellow"
  36. set ui.colors.color.title.title-text.background = "orange"
  37. #set ui.colors.color.status.showip-text.background = "orange"
  38. set ui.colors.color.status.status-bar.background = "orange"
  39. set ui.colors.color.status.status-text.background = "orange"
  40. # Terminal options.
  41. set terminal.xterm.colors = 1
  42. set terminal.xterm.type = 2
  43. set terminal.linux.colors = 1
  44. #set terminal.linux.type = 5
  45. set terminal.linux.charset = "utf-8"
  46. set terminal.screen.colors = 1
  47. # Document options.
  48. set document.history.global.enable = 0
  49. set document.history.global.max_items = 1
  50. set document.history.global.display_type = 0
  51. set document.history.keep_unhistory = 0
  52. set document.cache.format.size = 0
  53. set document.cache.memory.size = 0
  54. set document.colors.use_document_colors = 0
  55. set document.colors.text = "yellow"
  56. set document.colors.link = "aqua"
  57. # Connection options.
  58. set connection.ssl.cert_verify = 1
  59. ##################################
  60. # key bindings
  61. # vim/vimFx style navigation
  62. bind "main" "j" = "scroll-down"
  63. bind "main" "k" = "scroll-up"
  64. bind "main" "H" = "scroll-left"
  65. bind "main" "L" = "scroll-right"
  66. bind "main" "h" = "history-move-back"
  67. bind "main" "l" = "history-move-forward"
  68. #bind "main" "u" = "move-half-page-up"
  69. #bind "main" "d" = "move-half-page-down"
  70. bind "main" "Shift-J" = "tab-prev"
  71. bind "main" "Shift-k" = "tab-next"
  72. # link movement
  73. bind "main" "Right" = "move-link-right-line"
  74. bind "main" "Left" = "move-link-left-line"
  75. bind "main" "Down" = "move-link-down"
  76. bind "main" "Up" = "move-link-up"
  77. # various functions
  78. bind "main" "f" = "toggle-numbered-links"
  79. bind "main" "g" = "goto-url"
  80. #bind "main" "z" = "move-current-top"
  81. bind "main" "G" = "move-document-end"
  82. bind "main" "Ctrl-K" = "keybinding-manager"
  83. bind "main" "P" = "save-url-as"
  84. # save page as source
  85. bind "main" "S" = "save-as"
  86. # show currentl url in goto window
  87. bind "main" "Ctrl-G" = "goto-url-current"