userconf.lua 891 B

12345678910111213141516171819202122232425
  1. -- My config for luakit.
  2. --
  3. local settings = require "settings"
  4. settings.window.home_page = "www.duckduckgo.com"
  5. local modes = require "modes"
  6. modes.remap_binds(
  7. "normal",
  8. {
  9. -- new old removes the old binding(false)
  10. --{"O", "t", true},
  11. }
  12. )
  13. local engines = settings.window.search_engines
  14. engines.aur = "https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go"
  15. engines.aw = "https://wiki.archlinux.org/index.php/Special:Search?fulltext=Search&search=%s"
  16. engines.googleseceng = "https://www.google.com/search?name=f&hl=en&q=%s"
  17. engines.ddg = "https://duckduckgo.com?q=%s&t=h_&ia=about"
  18. -- Wiki.
  19. engines.wwr = "https://ru.wikipedia.org/wiki/%s"
  20. engines.wwe = "https://en.wikipedia.org/wiki/%s"
  21. engines.wde = "https://en.wiktionary.org/wiki/%s"
  22. engines.wdr = "https://ru.wiktionary.org/wiki/%s"