[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/objed 45eb117 087/216: Add alternative bindings

From: Stefan Monnier
Subject: [elpa] externals/objed 45eb117 087/216: Add alternative bindings
Date: Tue, 8 Jan 2019 12:29:17 -0500 (EST)

branch: externals/objed
commit 45eb117daa688749df2e9f55648fdea33317df96
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Add alternative bindings
 README.asc | 2 +-
 objed.el   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.asc b/README.asc
index 4af06ac..93d1aca 100644
--- a/README.asc
+++ b/README.asc
@@ -226,7 +226,7 @@ determining the context:
 |If coming from basic movement the object at point is guessed based on 
context. Point is moved  to the beginning/end of object. This is useful to 
"jump out" of the current context. On repeat move to the previous/next instance 
of current object type
+|kbd:[`/´ or home/end]
 |Goto first/last instance of current object type.
diff --git a/objed.el b/objed.el
index 4d3e0c3..f12d1ce 100644
--- a/objed.el
+++ b/objed.el
@@ -681,8 +681,9 @@ the guessed object."
     (define-key map (kbd "<M-left>") 'objed-indent-to-left-tab-stop)
     (define-key map "`" 'objed-top-object);;'objed-backward-symbol)
-    (define-key map "´" 'objed-bottom-object);;'objed-forward-symbol)
+    (define-key map (kbd "<home>") 'objed-top-object)
+    (define-key map (kbd "´") 'objed-bottom-object);;'objed-forward-symbol)
+    (define-key map (kbd "<end>") 'objed-bottom-object)
     ;; block expansions
     (define-key map "l" 'objed-expand-block)
     (define-key map "a" 'objed-beg-of-block)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]