atomic-chrome
atomic-chrome copied to clipboard
Tip: config for use-package and org-mode
Not sure this is the best place for this, but here is my use-package config for atomic-chrome
(use-package atomic-chrome
:init
(setq atomic-chrome-server-ghost-text-port 4002)
(setq atomic-chrome-default-major-mode 'org-mode)
;; (setq atomic-chrome-buffer-open-style)
(atomic-chrome-start-server)
:config
(define-key atomic-chrome-edit-mode-map (kbd "C-c C-c") nil)
:bind
(("s-c C-c" . atomic-chrome-close-current-buffer)))
A decent number of the config settings have to be in :init because it needs to run at startup to accept conections
the :config line is for removing the C-c C-c binding so that org-mode can use it
the :bind line is to get back the closing command by binding it to another keybind.