.
This commit is contained in:
parent
76708ac7be
commit
da4f9642e9
3 changed files with 13 additions and 117 deletions
|
@ -208,7 +208,7 @@ These services are unmodified, or have just few settings.
|
||||||
|
|
||||||
#+NAME: root-simple-services
|
#+NAME: root-simple-services
|
||||||
| Service | Options |
|
| Service | Options |
|
||||||
|-------------+------------------------------------------------------|
|
|--------------------+------------------------------------------------------|
|
||||||
| tlp | () |
|
| tlp | () |
|
||||||
| thermald | ((adaptive? #t)) |
|
| thermald | ((adaptive? #t)) |
|
||||||
| bluetooth | () |
|
| bluetooth | () |
|
||||||
|
|
|
@ -602,14 +602,6 @@ Point must be at the beginning of balanced expression (sexp)."
|
||||||
(looking-back (rx (or ")" "}" "]"))))
|
(looking-back (rx (or ")" "}" "]"))))
|
||||||
|
|
||||||
;;;;; Basic
|
;;;;; Basic
|
||||||
;; (use-package symex
|
|
||||||
;; :custom
|
|
||||||
;; (symex-modal-backend 'evil)
|
|
||||||
;; :config
|
|
||||||
;; (symex-initialize)
|
|
||||||
;; :bind
|
|
||||||
;; (:map evil-insert-state-map
|
|
||||||
;; ("C-ß" . #'symex-mode-interface)))
|
|
||||||
|
|
||||||
(use-package paredit
|
(use-package paredit
|
||||||
:config
|
:config
|
||||||
|
@ -635,61 +627,6 @@ Point must be at the beginning of balanced expression (sexp)."
|
||||||
emacs-lisp-mode
|
emacs-lisp-mode
|
||||||
scheme-mode)
|
scheme-mode)
|
||||||
|
|
||||||
;; (use-package smartparens
|
|
||||||
;; :hook
|
|
||||||
;; (smartparens-mode . show-smartparens-mode)
|
|
||||||
;; (smartparens-mode . smartparens-strict-mode)
|
|
||||||
;; clojure-ts-mode
|
|
||||||
;; emacs-lisp-mode
|
|
||||||
;; scheme-mode
|
|
||||||
;; :custom
|
|
||||||
;; (sp-undo-pairs-separately t)
|
|
||||||
;; :config
|
|
||||||
;; (add-to-list 'sp-clojure-modes 'clojure-ts-mode)
|
|
||||||
;; (add-to-list 'sp-clojure-modes 'clojurec-ts-mode)
|
|
||||||
;; (add-to-list 'sp-clojure-modes 'clojurescript-ts-mode)
|
|
||||||
;; (add-to-list 'sp-lisp-modes 'clojure-ts-mode)
|
|
||||||
;; (add-to-list 'sp-lisp-modes 'clojurec-ts-mode)
|
|
||||||
;; (add-to-list 'sp-lisp-modes 'clojurescript-ts-mode)
|
|
||||||
;; ;; TODO: Remove the following three lines once merge request got accepted
|
|
||||||
;; (load-file (concat init-dir "lib/smartparens-clojure.el"))
|
|
||||||
;; (load-file (concat init-dir "lib/smartparens-emacs-lisp.el"))
|
|
||||||
;; (load-file (concat init-dir "lib/smartparens-scheme.el"))
|
|
||||||
;; (require 'smartparens-clojure)
|
|
||||||
;; (require 'smartparens-emacs-lisp)
|
|
||||||
;; (require 'smartparens-scheme)
|
|
||||||
;; (evil-define-key 'insert smartparens-mode-map
|
|
||||||
;; (kbd "r") (conditional-keybind #'looking-at-opening-paren
|
|
||||||
;; #'sp-raise-sexp)
|
|
||||||
;; (kbd "w") (conditional-keybind #'looking-at-opening-paren
|
|
||||||
;; #'cc/move-sexp-backward)
|
|
||||||
;; (kbd "s") (conditional-keybind #'looking-at-opening-paren
|
|
||||||
;; #'cc/move-sexp-forward)
|
|
||||||
;; (kbd "c") (conditional-keybind #'looking-at-opening-paren
|
|
||||||
;; #'sp-clone-sexp)
|
|
||||||
;; (kbd "m") (conditional-keybind #'looking-at-opening-paren
|
|
||||||
;; #'sp-mark-sexp)
|
|
||||||
;; (kbd "DEL") (conditional-keybind #'being-past-closing-paren
|
|
||||||
;; #'sp-backward-delete-sexp
|
|
||||||
;; #'evil-delete-backward-char-and-join)
|
|
||||||
;; (kbd ">") (conditional-keybind #'being-past-closing-paren
|
|
||||||
;; (lambda (prefix)
|
|
||||||
;; (interactive "P")
|
|
||||||
;; (call-interactively #'backward-char)
|
|
||||||
;; (call-interactively #'sp-forward-slurp-sexp)
|
|
||||||
;; (call-interactively #'sp-forward-sexp)
|
|
||||||
;; (call-interactively #'forward-char)))
|
|
||||||
;; (kbd "<") (conditional-keybind #'being-past-closing-paren
|
|
||||||
;; (lambda (prefix)
|
|
||||||
;; (interactive "P")
|
|
||||||
;; (call-interactively #'backward-char)
|
|
||||||
;; (call-interactively #'sp-forward-barf-sexp)
|
|
||||||
;; (call-interactively #'forward-char)))))
|
|
||||||
|
|
||||||
;; (use-package evil-cleverparens
|
|
||||||
;; :after smartparens
|
|
||||||
;; :hook smartparens)
|
|
||||||
|
|
||||||
;;;;; Visual Aid
|
;;;;; Visual Aid
|
||||||
;; (use-package rainbow-delimiters
|
;; (use-package rainbow-delimiters
|
||||||
;; :hook
|
;; :hook
|
||||||
|
@ -749,46 +686,6 @@ Point must be at the beginning of balanced expression (sexp)."
|
||||||
:after (consult eglot))
|
:after (consult eglot))
|
||||||
|
|
||||||
;;;;; Clojure
|
;;;;; Clojure
|
||||||
;; (use-package clojure-ts-mode
|
|
||||||
;; :preface
|
|
||||||
;; (defun embark-eglot-rename (from to)
|
|
||||||
;; "Renames the symbol at point."
|
|
||||||
;; (interactive "sRename: \nsRename %s to: ")
|
|
||||||
;; (funcall-interactively #'eglot-rename to))
|
|
||||||
;; (defun cc/clojure-local-stuff ()
|
|
||||||
;; (setq-local sesman-system 'CIDER)
|
|
||||||
;; (setq-local prettify-symbols-alist '(("fn" . "λ"))))
|
|
||||||
;; :delight ""
|
|
||||||
;; :after (tree-sitter embark cider clojure-mode)
|
|
||||||
;; :config
|
|
||||||
;; (require 'sesman)
|
|
||||||
;; (sesman-install-menu clojure-ts-mode-map)
|
|
||||||
;; (defvar-keymap embark-clj-identifier-map
|
|
||||||
;; :parent embark-identifier-map
|
|
||||||
;; "c" #'embark-eglot-rename)
|
|
||||||
;; (add-to-list 'embark-keymap-alist '(identifier . embark-clj-identifier-map))
|
|
||||||
;; :hook
|
|
||||||
;; ((clojure-ts-mode . eglot-ensure)
|
|
||||||
;; (clojure-ts-mode . prettify-symbols-mode)
|
|
||||||
;; (clojure-ts-mode . #'cc/clojure-local-stuff)
|
|
||||||
;; (clojure-ts-mode . (lambda ()
|
|
||||||
;; (sesman-install-menu clojure-mode-map)))
|
|
||||||
;; (clojurec-ts-mode . (lambda ()
|
|
||||||
;; (sesman-install-menu clojurec-mode-map)))
|
|
||||||
;; (clojurescript-ts-mode . (lambda ()
|
|
||||||
;; (sesman-install-menu clojurescript-mode-map))))
|
|
||||||
;; :mode
|
|
||||||
;; ("\\.clj\\'" . clojure-ts-mode)
|
|
||||||
;; ("\\.cljc\\'" . clojurec-ts-mode)
|
|
||||||
;; ("\\.cljs\\'" . clojurescript-ts-mode)
|
|
||||||
;; :init
|
|
||||||
;; (add-to-list 'tree-sitter-major-mode-language-alist
|
|
||||||
;; '(clojure-ts-mode . clojure))
|
|
||||||
;; (add-to-list 'tree-sitter-major-mode-language-alist
|
|
||||||
;; '(clojurec-ts-mode . clojure))
|
|
||||||
;; (add-to-list 'tree-sitter-major-mode-language-alist
|
|
||||||
;; '(clojurescript-ts-mode . clojure)))
|
|
||||||
|
|
||||||
(use-package clojure-mode
|
(use-package clojure-mode
|
||||||
:preface
|
:preface
|
||||||
(defun embark-eglot-rename (from to)
|
(defun embark-eglot-rename (from to)
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
("ll" . "ls -l")
|
("ll" . "ls -l")
|
||||||
("ls" . "ls --color=tty")
|
("ls" . "ls --color=tty")
|
||||||
("create-guix-patch" . "git format-patch --minimal --to guix-patches@gnu.org --cc dziltener@lyrion.ch --inline --no-attach master; ls *.patch | xargs sed -i '1d'")
|
("create-guix-patch" . "git format-patch --minimal --to guix-patches@gnu.org --cc dziltener@lyrion.ch --inline --no-attach master; ls *.patch | xargs sed -i '1d'")
|
||||||
("send-guix-patch-series" . "for FILE in `find . -name '*.patch'`; do cat $FILE | msmtp -t; done")))
|
("send-guix-patch-series" . "for FILE in `find . -name '00*.patch'`; do cat $FILE | msmtp -t; done")))
|
||||||
(bashrc
|
(bashrc
|
||||||
(list
|
(list
|
||||||
(local-file
|
(local-file
|
||||||
|
@ -186,7 +186,6 @@
|
||||||
"openssh"
|
"openssh"
|
||||||
"password-store"
|
"password-store"
|
||||||
"pass-otp"
|
"pass-otp"
|
||||||
"passff-icecat"
|
|
||||||
"pavucontrol"
|
"pavucontrol"
|
||||||
"pinentry-qt"
|
"pinentry-qt"
|
||||||
"pipewire"
|
"pipewire"
|
||||||
|
|
Loading…
Reference in a new issue