mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Crdt use tls
This commit is contained in:
parent
5855e5a94b
commit
8a6c09cd61
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue