branch: externals/objed commit c02f3c1f10527bc92646a834b64c83fa9e6b40e1 Author: Clemens Radermacher <clem...@posteo.net> Commit: Clemens Radermacher <clem...@posteo.net>
Add description for uppercase kill/delete --- README.asc | 10 ++++++++-- objed.el | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.asc b/README.asc index a25af18..2514af4 100644 --- a/README.asc +++ b/README.asc @@ -309,10 +309,16 @@ once you can mark them first (see the "Misc commands" below): |Delete current object(s) and switch to insert. |kbd:[k] -|Kill current object(s). +|Kill current object(s). Continues by selecting the next instance from point. + +|kbd:[K] +|Kill current object. Continues by selecting the previous instance from point. |kbd:[d] -|Delete current object(s). +|Delete current object(s). Continues by selecting the next instance from point. + +|kbd:[D] +|Delete current object. Continues by selecting the previous instance from point. |kbd:[w] |Copy current object(s). On repeat move to next and append it to `kill-ring` diff --git a/objed.el b/objed.el index 2fc8e2d..8eb85d0 100644 --- a/objed.el +++ b/objed.el @@ -707,7 +707,6 @@ selected one." (define-key map "(" 'objed-backward-until-context) (define-key map ")" 'objed-forward-until-context) - (define-key map "O" 'objed-current-or-previous-context) (define-key map "[" 'objed-previous) ;; objed-current-or-previous-context (define-key map "]" 'objed-next) ;; objed-current-or-next-context (define-key map "{" (objed--call-and-switch backward-paragraph paragraph)) @@ -730,6 +729,7 @@ selected one." ;; context expansions (define-key map "o" 'objed-expand-context) + (define-key map "O" 'objed-current-or-previous-context) (define-key map "i" 'objed-del-insert) (define-key map "t" 'objed-toggle-state)