[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/osm 76b41f5fb5 51/77: Add keybindings
From: |
ELPA Syncer |
Subject: |
[elpa] externals/osm 76b41f5fb5 51/77: Add keybindings |
Date: |
Mon, 7 Mar 2022 08:58:07 -0500 (EST) |
branch: externals/osm
commit 76b41f5fb5e53aa349d5698d7ba67c4d346dee8f
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add keybindings
---
README.org | 4 ++--
osm.el | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 937484866d..4190c84fe2 100644
--- a/README.org
+++ b/README.org
@@ -63,8 +63,8 @@ Top-level commands:
Key bindings in =osm-mode= buffer:
- ~<arrow>~: Small step scrolling
- ~C-<arrow>~, ~M-<arrow>~: Large step scrolling
-- ~+~: =osm-zoom-out= - Zoom out
-- ~-~: =osm-zoom-in= - Zoom in
+- ~+~, ~SPC~: =osm-zoom-in= - Zoom in
+- ~-~, ~S-SPC~: =osm-zoom-out= - Zoom out
- ~<mouse-1>~: =osm-zoom-click= - Zoom to point
- ~<mouse-2>~: =osm-org-link-click= - Store point as Org link
- ~<mouse-3>~: =osm-bookmark-click= - Store point as bookmark
diff --git a/osm.el b/osm.el
index e093b47421..89f8e9d269 100644
--- a/osm.el
+++ b/osm.el
@@ -123,6 +123,9 @@ Should be at least 7 days according to the server usage
policies."
(let ((map (make-sparse-keymap)))
(define-key map "+" #'osm-zoom-in)
(define-key map "-" #'osm-zoom-out)
+ (define-key map " " #'osm-zoom-in)
+ (define-key map (kbd "S-SPC") #'osm-zoom-out)
+ (define-key map "\d" #'osm-zoom-out)
(define-key map [mouse-1] #'osm-zoom-click)
(define-key map [mouse-2] #'osm-org-link-click)
(define-key map [mouse-3] #'osm-bookmark-click)
@@ -149,9 +152,6 @@ Should be at least 7 days according to the server usage
policies."
(define-key map "B" #'osm-bookmark-jump)
(define-key map [remap scroll-down-command] #'osm-down)
(define-key map [remap scroll-up-command] #'osm-up)
- (define-key map "\d" nil)
- (define-key map (kbd "S-SPC") nil)
- (define-key map " " nil)
(define-key map "<" nil)
(define-key map ">" nil)
map)
- [elpa] externals/osm e7f38427ca 05/77: Document all variables, (continued)
- [elpa] externals/osm e7f38427ca 05/77: Document all variables, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 42b9222e93 06/77: Make download slightly more robust, ELPA Syncer, 2022/03/07
- [elpa] externals/osm ad12c93f57 01/77: Initial commit, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 7a1d920492 59/77: Display bookmarks in map, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 25d891088f 70/77: Emacs 27 base64 encoding fallback, ELPA Syncer, 2022/03/07
- [elpa] externals/osm ec97b1d1c0 23/77: Add separate hook function, ELPA Syncer, 2022/03/07
- [elpa] externals/osm ee64b96509 56/77: Add map variant, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 1bd4751bcf 34/77: Better link names, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 7a50000e1e 58/77: Add separate resize function, revert tile cache, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 4c9337bf79 69/77: Update README, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 76b41f5fb5 51/77: Add keybindings,
ELPA Syncer <=
- [elpa] externals/osm a6335090e9 33/77: Handle multiple windows, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 2fbf12f0ef 46/77: seq is not needed, ELPA Syncer, 2022/03/07
- [elpa] externals/osm c2c7dff887 22/77: Compact server configuration, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 7ce1d26c88 67/77: Extract osm--make-tile, ELPA Syncer, 2022/03/07
- [elpa] externals/osm ff8ff68b4d 65/77: Check if bookmarks are present, ELPA Syncer, 2022/03/07
- [elpa] externals/osm cb191d426f 76/77: Version 0.2, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 8e8e4583f5 74/77: More robust mouse dragging, ELPA Syncer, 2022/03/07
- [elpa] externals/osm d776cdb343 42/77: Fix melpa issues (See https://github.com/melpa/melpa/pull/7936), ELPA Syncer, 2022/03/07
- [elpa] externals/osm 5b82b32201 28/77: Add server descriptions, ELPA Syncer, 2022/03/07
- [elpa] externals/osm 832bce78f8 72/77: Implement proper map dragging with the mouse, ELPA Syncer, 2022/03/07