Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tip: config for use-package and org-mode #49

Open
truesilver92 opened this issue Nov 1, 2019 · 0 comments
Open

Tip: config for use-package and org-mode #49

truesilver92 opened this issue Nov 1, 2019 · 0 comments

Comments

@truesilver92
Copy link

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.

@truesilver92 truesilver92 changed the title Tip: use-package Tip: config for use-package and org-mode Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant