diff options
author | Thanos Apollo <[email protected]> | 2024-02-02 17:53:26 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-02 17:53:26 +0200 |
commit | 687a0fa8c2e757bc848d7da1abe610b12445a198 (patch) | |
tree | 85c86175df577a03e4f7150cc4a37fc7f319c18d | |
parent | 0fadc070ad985c7d3d9dd611d180bf6a9688203f (diff) |
nyxt: Rename modules as keys & style
-rw-r--r-- | .config/nyxt/keys.lisp (renamed from .config/nyxt/keybinds.lisp) | 10 | ||||
-rw-r--r-- | .config/nyxt/style.lisp (renamed from .config/nyxt/colorscheme.lisp) | 0 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.config/nyxt/keybinds.lisp b/.config/nyxt/keys.lisp index 09d4f99..6b6f83a 100644 --- a/.config/nyxt/keybinds.lisp +++ b/.config/nyxt/keys.lisp @@ -1,5 +1,14 @@ (in-package #:nyxt-user) +(define-configuration buffer + ((default-modes + (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%)))) + +(define-configuration input-buffer + ((override-map + (let ((map (make-keymap "override-map"))) + (define-key map "M-x" 'execute-command "C-space" 'nothing))))) + (define-configuration :document-mode "Add basic keybindings." ((keyscheme-map @@ -9,6 +18,7 @@ (list "C-c p" 'copy-password "C-c u" 'copy-username "C-c y" 'autofill + "C-c v" 'visual-mode "C-f" :history-forwards-maybe-query "C-s" :search-buffer "C-l" 'thanos/set-url diff --git a/.config/nyxt/colorscheme.lisp b/.config/nyxt/style.lisp index 4dee682..4dee682 100644 --- a/.config/nyxt/colorscheme.lisp +++ b/.config/nyxt/style.lisp |