init-w3m.el 608 B

1234567891011121314151617
  1. (eval-after-load "w3m-search"
  2. '(progn
  3. (add-to-list 'w3m-search-engine-alist
  4. '("Duck Duck Go"
  5. "https://duckduckgo.com/?q=%s"
  6. nil)
  7. '("PHP wiki"
  8. "https://secure.php.net/manual-lookup.php?pattern=%s"
  9. nil)
  10. )
  11. (add-to-list 'w3m-uri-replace-alist
  12. '("\\`dd:" w3m-search-uri-replace "Duck Duck Go")
  13. '("\\`phpw:" w3m-search-uri-replace "PHP wiki")
  14. )
  15. (setq w3m-search-default-engine (quote "Duck Duck Go"))
  16. ))