From ede62d00dcda087f4610492d7e41f91cf115c7e6 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Wed, 31 Jan 2024 21:43:13 +0100 Subject: convert OSM to module Migrate the OSM app to a custom Doom module, and pin the osm package to the latest release. Also update my home location. --- app/osm.el | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 app/osm.el (limited to 'app') diff --git a/app/osm.el b/app/osm.el deleted file mode 100644 index ae21218..0000000 --- a/app/osm.el +++ /dev/null @@ -1,23 +0,0 @@ -;;; app/osm.el -*- lexical-binding: t; -*- - -(use-package! osm - :bind (("C-c m h" . osm-home) - ("C-c m s" . osm-search) - ("C-c m v" . osm-server) - ("C-c m t" . osm-goto) - ("C-c m x" . osm-gpx-show) - ("C-c m j" . osm-bookmark-jump)) - - :config - (add-to-list 'osm-server-list '(thunderforest-cycle - :name "OpenCycleMap" - :description "Map for cyclists, provided by Thunderforest" - :url "https://%s.tile.thunderforest.com/cycle/%z/%x/%y.png?apikey=7c352c8ff1244dd8b732e349e0b0fe8d")) - (setq osm-copyright nil) - (setq osm-server 'thunderforest-cycle) - (setq osm-home '(37.7775 -122.416389 14)) ; San Francisco, CA - (set-evil-initial-state! 'osm-mode 'emacs) - - :init - (with-eval-after-load 'org - (require 'osm-ol))) -- cgit v1.2.3