taking nyxt out of retirement
This commit is contained in:
0
.config/nyxt/auto-config.3.lisp
Normal file
0
.config/nyxt/auto-config.3.lisp
Normal file
27
.config/nyxt/config.lisp
Normal file
27
.config/nyxt/config.lisp
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
;; vi keybindings
|
||||||
|
(define-configuration buffer
|
||||||
|
((default-modes
|
||||||
|
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
||||||
|
|
||||||
|
;; Vi-insert mode for prompt-buffer (minibuffer)
|
||||||
|
(define-configuration prompt-buffer
|
||||||
|
((default-modes (append '(vi-insert-mode) %slot-default%))))
|
||||||
|
|
||||||
|
(defvar *my-search-engines*
|
||||||
|
(list
|
||||||
|
'("ddg" "https://duckduckgo.com/search?q=~a" "https://duckduckgo.com"))
|
||||||
|
"List of search engines.")
|
||||||
|
|
||||||
|
(define-configuration context-buffer
|
||||||
|
"Set DuckDuckGo as the default search engine."
|
||||||
|
((search-engines
|
||||||
|
(append %slot-default%
|
||||||
|
(mapcar
|
||||||
|
(lambda (engine) (apply 'make-search-engine engine))
|
||||||
|
*my-search-engines*)))))
|
||||||
|
|
||||||
|
(define-configuration (web-buffer)
|
||||||
|
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
|
||||||
|
|
||||||
|
(defmethod customize-instance ((document-buffer document-buffer) &key)
|
||||||
|
(setf (slot-value document-buffer 'zoom-ratio-default) 1.1))
|
||||||
Reference in New Issue
Block a user