From 9a9b74e6cc4f19cc233f4672755b950572a5d524 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 31 Jan 2024 13:04:37 +0200 Subject: nyxt: Remove unused parts of aartaka config --- .config/nyxt/config.lisp | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to '.config/nyxt') diff --git a/.config/nyxt/config.lisp b/.config/nyxt/config.lisp index 6300ad7..898fe4c 100644 --- a/.config/nyxt/config.lisp +++ b/.config/nyxt/config.lisp @@ -32,24 +32,10 @@ intuitive default widths, but these are sometimes inefficient (and note that I made this feature so I want to have it :P)." ((dynamic-attribute-width-p t))) -;; (define-configuration :web-buffer -;; ((search-always-auto-complete-p -;; nil -;; :doc "I don't like search completion when I don't need it.") -;; (global-history-p -;; t -;; :doc "It was disabled after 2.2.4, while being a useful feature. -;; I'm forcing it here, because I'm getting lost in buffer-local -;; histories otherwise..."))) - (define-configuration :web-buffer "Basic modes setup for web-buffer." ((default-modes `(,@*web-buffer-modes* ,@%slot-value%)))) -;; (define-configuration :browser -;; "Set new buffer URL (a.k.a. start page, new tab page)." -;; ((default-new-buffer-url (quri:uri "nyxt:nyxt/mode/repl:repl")))) - (define-configuration :hint-mode "Set up QWERTY home row as the hint keys." ((hints-alphabet "DSJKHLFAGNMXCWEIO"))) @@ -67,23 +53,3 @@ Upstream Nyxt doesn't have it because it may break some websites.") (preferred-user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" :doc "Mimic Chrome on MacOS."))) - -;; Search engines - - -(defvar *my-search-engines* - (list - '("google" "https://google.com/search?q=~a" "https://google.com") - '("doi" "https://dx.doi.org/~a" "https://dx.doi.org/") - '("python3" "https://docs.python.org/3/search.html?q=~a" - "https://docs.python.org/3") - '("duck" "https://duckduckgo.com/?q=~a" "https://duckduckgo.com")) - "List of search engines.") - -(define-configuration context-buffer - "Go through the search engines above and make-search-engine out of them." - ((search-engines - (append %slot-default% - (mapcar - (lambda (engine) (apply 'make-search-engine engine)) - *my-search-engines*))))) -- cgit v1.2.3