summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-31 13:04:37 +0200
committerThanos Apollo <[email protected]>2024-01-31 13:04:37 +0200
commit9a9b74e6cc4f19cc233f4672755b950572a5d524 (patch)
tree2a621c7eb0d62bbea8567c03525410ed7f9a1cca
parentd0a8fdcf097989bf498b88b52a758c82b9db3e28 (diff)
nyxt: Remove unused parts of aartaka config
-rw-r--r--.config/nyxt/config.lisp34
1 files changed, 0 insertions, 34 deletions
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*)))))