[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed 1127d6f 111/166: Adjust default binding scheme ag
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/objed 1127d6f 111/166: Adjust default binding scheme again |
Date: |
Sun, 29 Dec 2019 08:21:10 -0500 (EST) |
branch: externals/objed
commit 1127d6fdec989fb9577cb55fa6adedce7b4035e0
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Adjust default binding scheme again
---
README.asc | 5 +----
objed.el | 11 ++++++-----
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/README.asc b/README.asc
index c071641..651e177 100644
--- a/README.asc
+++ b/README.asc
@@ -155,7 +155,7 @@ If commands allow for numeric arguments you can input them
without the use of
kbd:[Ctrl] or kbd:[Meta]. kbd:[0] can be used as an alternative for the
universal argument (kbd:[C-u]). To add custom commands to the modal state you
can use `objed-user-map` which is available under prefix key kbd:['] and
-`objed-other-user-map` bound to kbd:[?]. It's recommended to use one of these
+`objed-other-user-map` bound to kbd:[-]. It's recommended to use one of these
map for custom object bindings and the other one for additional operations.
In addition to the commands configured in `objed-cmd-alist` you can use the
@@ -438,9 +438,6 @@ You can add your own prefix bindings using
`objed-define-dispatch`.
|kbd:[ยด]
|Activate part from point backward until boundary of some object.
-|kbd:[-]
-|Extend current object by including leading whitespace.
-
|kbd:[+]
|Extend current object by including trailing whitespace.
|===
diff --git a/objed.el b/objed.el
index 3553bf8..ce61d8a 100644
--- a/objed.el
+++ b/objed.el
@@ -630,7 +630,7 @@ selected one."
(define-key map (kbd (format "C-%c" n)) 'digit-argument))
;; common emacs keys
(define-key map (kbd "C-g") 'objed-quit)
- (define-key map (kbd "C-h b") 'objed-show-top-level)
+ (define-key map (kbd "?") 'objed-show-top-level)
;; TODO: switch with q, so quit window is qq?
(define-key map "g" 'objed-quit)
(define-key map "q" 'objed-quit-window-or-reformat)
@@ -747,9 +747,10 @@ selected one."
;; (define-key map "M" 'objed-unmark-all)
(define-key map "@" 'objed-extend)
- (define-key map "-" 'objed-include-leading-ws)
+ ;; TODO: second + include more
(define-key map "+" 'objed-include-trailing-ws)
-
+ ;; (define-key map "" 'objed-include-leading-ws)
+
;; basic edit ops
(define-key map "k" 'objed-kill)
(define-key map "K" 'objed-kill)
@@ -784,7 +785,7 @@ selected one."
(define-key map "c" 'objed-object-map)
;; for custom user object and op commands
(define-key map "'" 'objed-user-map)
- (define-key map "?" 'objed-other-user-map)
+ (define-key map "-" 'objed-other-user-map)
(define-key map (kbd "M-g o") 'objed-occur)
@@ -936,7 +937,7 @@ To define new operations see `objed-define-op'.")
"Keymap for custom user bindings.")
(defvar objed-other-user-map
- (let ((map (objed--define-prefix "?" 'objed-user-map)))
+ (let ((map (objed--define-prefix "-" 'objed-user-map)))
map)
"Keymap for custom user bindings.")
- [elpa] externals/objed e079d7e 132/166: Use default binding for read only toggle in op map, (continued)
- [elpa] externals/objed e079d7e 132/166: Use default binding for read only toggle in op map, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 71dc168 135/166: Fix skipping object when one char before it, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 1c152a1 137/166: Fix mc/num-cursors undefined when mc not loaded, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed f08f689 142/166: Some improvements for auto activation, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 2e419f9 147/166: Merge pull request #52 from Lemonbreezes/patch-1, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 72befc8 100/166: Fix line object at end of buffer, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed d7b5768 104/166: Ignore comments for css defun object, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 3ae5f66 110/166: Better binding for paragraph object, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed aa776a8 113/166: Make filling paragraphs repeatable, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 44bb1d2 116/166: Add char object to keeper objects, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 1127d6f 111/166: Adjust default binding scheme again,
Clemens Radermacher <=
- [elpa] externals/objed f74e3c8 115/166: Refractor object continuation code, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 80cdd01 121/166: Update docstring, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 470575e 035/166: Update docs., Clemens Radermacher, 2019/12/29
- [elpa] externals/objed b3e44ca 047/166: Change init policy, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 244acd2 073/166: Allow passing object to objed-init again, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 43befe6 050/166: Stop weird behavior of line and char object at eob, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 7b86d64 056/166: Merge pull request #45 from eabarbosa/master, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 69dcc5b 066/166: Use first regex group of regex object to delemit inner part, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed 210d3db 077/166: Improve sexp object for non symetric commands, Clemens Radermacher, 2019/12/29
- [elpa] externals/objed fa06574 075/166: Don't init when other modes have set overriding-terminal-local-map, Clemens Radermacher, 2019/12/29