summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-09 20:41:24 +0000
committerjao <jao@gnu.org>2022-03-09 20:41:24 +0000
commit1b31a86ba2f8fa92680ea9585d2df3984d8423fb (patch)
treebcdc430444d9afa2f5b203628952000df4acb9e6 /init.org
parente29050f604dd36c8b1def9a29a4b583d40651cf8 (diff)
downloadelibs-1b31a86ba2f8fa92680ea9585d2df3984d8423fb.tar.gz
elibs-1b31a86ba2f8fa92680ea9585d2df3984d8423fb.tar.bz2
yaml mode and, for the fun of it, osm
Diffstat (limited to 'init.org')
-rw-r--r--init.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/init.org b/init.org
index d3e0723..299b718 100644
--- a/init.org
+++ b/init.org
@@ -2639,6 +2639,11 @@
(venv-initialize-eshell)
(jao-compilation-env "VIRTUAL_ENV"))
#+end_src
+* Text/data formats
+*** YAML
+ #+begin_src emacs-lisp
+ (use-package yaml-mode :ensure t)
+ #+end_src
*** JSON
#+BEGIN_SRC emacs-lisp
(use-package json-mode :ensure t)
@@ -2656,6 +2661,21 @@
:commands (gnuplot-mode gnuplot-make-buffer)
:init (add-to-list 'auto-mode-alist '("\\.gp$" . gnuplot-mode)))
#+END_SRC
+*** Maps
+ #+begin_src emacs-lisp
+ (use-package osm
+ :ensure t
+ :init
+ (with-eval-after-load 'org (require 'osm-ol))
+ :config
+ (transient-define-prefix jao-transient-osm ()
+ ["Open Street Maps"
+ ("s" "search" osm-search)
+ ("g" "goto" osm-goto)
+ ("b" "jump to bookmark" osm-bookmark-jump)
+ ("t" "server" osm-server)])
+ :bind ("C-c M" . #'jao-transient-osm))
+ #+end_src
* Network
*** nm applet
#+begin_src emacs-lisp