emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/annotate e77fc74bd2 036/372: change key binding to be more


From: ELPA Syncer
Subject: [nongnu] elpa/annotate e77fc74bd2 036/372: change key binding to be more standard
Date: Fri, 4 Feb 2022 16:58:17 -0500 (EST)

branch: elpa/annotate
commit e77fc74bd293d1a117de2cd09806030b097af0d0
Author: Bastian Bechtold <basti@bastibe.de>
Commit: Bastian Bechtold <basti@bastibe.de>

    change key binding to be more standard
    
    The manual states that minor modes should use C-c <punct> key bindings.
    I still keep C-c C-a for now.
---
 README.md   |  2 +-
 annotate.el | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 829e9402c6..1e6769a2d9 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ This package provides a minor mode `annotate-mode`, which can 
add annotations to
 
 With an active region, `C-c C-a` creates a new annotation for that region. 
With no active region, `C-c C-a` will create an annotation for the word under 
point. If point is on an annotated region, `C-c C-a` will edit that annotation 
instead of creating a new one. Clearing the annotation deletes them.
 
-Use `C-c C-n` to jump to the next annotation and `C-c C-p` to jump to the 
previous annotation.
+Use `C-c ]` to jump to the next annotation and `C-c [` to jump to the previous 
annotation.
 
 All annotations are saved in `annotate-file` (`~/.annotations` by default).
 
diff --git a/annotate.el b/annotate.el
index cb358ee530..768664585f 100644
--- a/annotate.el
+++ b/annotate.el
@@ -5,7 +5,7 @@
 ;; Maintainer: Bastian Bechtold
 ;; URL: https://github.com/bastibe/annotate.el
 ;; Created: 2015-06-10
-;; Version: 0.3.0
+;; Version: 0.3.1
 
 ;; This file is NOT part of GNU Emacs.
 
@@ -40,7 +40,7 @@
 ;; region will be underlined, and the annotation will be displayed in
 ;; the right margin. Annotations are saved whenever the file is saved.
 ;;
-;; Use C-c C-n to jump to the next annotation and C-c C-p to jump to
+;; Use C-c ] to jump to the next annotation and C-c [ to jump to
 ;; the previous annotation. Use M-x annotate-export-annotations to
 ;; save annotations as a no-difference diff file.
 
@@ -50,7 +50,7 @@
 ;;;###autoload
 (defgroup annotate nil
   "Annotate files without changing them."
-  :version "0.3.0"
+  :version "0.3.1"
   :group 'text)
 
 ;;;###autoload
@@ -65,8 +65,8 @@
                 (annotate-shutdown)))
 
 (define-key annotate-mode-map (kbd "C-c C-a") 'annotate-annotate)
-(define-key annotate-mode-map (kbd "C-c C-n") 'annotate-next-annotation)
-(define-key annotate-mode-map (kbd "C-c C-p") 'annotate-previous-annotation)
+(define-key annotate-mode-map (kbd "C-c ]") 'annotate-next-annotation)
+(define-key annotate-mode-map (kbd "C-c [") 'annotate-previous-annotation)
 
 ;;;###autoload
 (defcustom annotate-file "~/.annotations"



reply via email to

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