47 lines
1.2 KiB
Org Mode
47 lines
1.2 KiB
Org Mode
#+TITLE: Miscellaneous Configuration
|
|
#+PROPERTY: header-args :tangle ~/.emacs.d/config.el
|
|
|
|
* Browser (eww)
|
|
|
|
#+begin_src elisp
|
|
(use-package eww
|
|
:bind* (("M-m g x" . eww)
|
|
("M-m g :" . eww-browse-with-external-browser)
|
|
("M-m g #" . eww-list-histories)
|
|
("M-m g {" . eww-back-url)
|
|
("M-m g }" . eww-forward-url))
|
|
:config
|
|
(progn
|
|
(add-hook 'eww-mode-hook 'visual-line-mode)
|
|
)
|
|
)
|
|
#+end_src
|
|
|
|
* Manage Docker in Emacs
|
|
|
|
#+begin_src elisp
|
|
(use-package docker
|
|
:bind ("C-c d" . docker)
|
|
)
|
|
#+end_src
|
|
|
|
* Periodic table of the elements
|
|
|
|
#+begin_src elisp :tangle no
|
|
(use-package chemtable)
|
|
#+end_src
|
|
|
|
* Accounting (beancount)
|
|
|
|
#+begin_src elisp :tangle no
|
|
(use-package beancount
|
|
:straight (beancount :type git :host github :repo "beancount/beancount-mode")
|
|
:config
|
|
(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))
|
|
(add-hook 'beancount-mode-hook #'outline-minor-mode)
|
|
(define-key beancount-mode-map (kbd "C-c C-n") #'outline-next-visible-heading)
|
|
(define-key beancount-mode-map (kbd "C-c C-p") #'outline-previous-visible-heading)
|
|
(add-hook 'beancount-mode-hook #'flymake-bean-check-enable)
|
|
)
|
|
#+end_src
|