diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index f37c8d6..21c37a8 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -653,7 +653,8 @@ If the path from LINK does not exist, nil is returned." ) (require 'crdt) -(setq crdt-default-tls nil) +(setq crdt-default-tls t) +(setq crdt-use-stunnel t) (setq crdt-default-name "Emmet") (if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el")) (defun crdt-connect-default () @@ -676,9 +677,12 @@ If the path from LINK does not exist, nil is returned." :desc "Add buffer to a session" "a" #'crdt-share-buffer - :desc "Stop sharing buffer to session" + :desc "Stop sharing buffer when running a server" "s" #'crdt-stop-share-buffer + :desc "Run M-x on the (remote) crdt session" + "x" #'crdt-M-x + :desc "List crdt buffers in a session" "l" #'crdt-list-buffers diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index a847f48..e45a1da 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -786,7 +786,8 @@ exit *** Crdt #+begin_src emacs-lisp :tangle config.el (require 'crdt) -(setq crdt-default-tls nil) +(setq crdt-default-tls t) +(setq crdt-use-stunnel t) (setq crdt-default-name "Emmet") (if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el")) (defun crdt-connect-default () @@ -809,9 +810,11 @@ exit :desc "Add buffer to a session" "a" #'crdt-share-buffer - :desc "Stop sharing buffer to session" + :desc "Stop sharing buffer when running a server" "s" #'crdt-stop-share-buffer + :desc "Run M-x on the (remote) crdt session" + "x" #'crdt-M-x :desc "List crdt buffers in a session" "l" #'crdt-list-buffers