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

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

[nongnu] elpa/evil-lisp-state ca3fe14475 115/125: Change switch to lisp


From: ELPA Syncer
Subject: [nongnu] elpa/evil-lisp-state ca3fe14475 115/125: Change switch to lisp state from <leader> , , to <leader> .
Date: Thu, 6 Jan 2022 04:58:46 -0500 (EST)

branch: elpa/evil-lisp-state
commit ca3fe14475e4422c9c6a0ed7cce71f54ae454e36
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>

    Change switch to lisp state from <leader> ,,  to <leader> .
---
 README.md          | 3 ++-
 evil-lisp-state.el | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 40046fb4d7..816aa31cc7 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ Examples:
 
 Key Binding               | Function
 
--------------------------|------------------------------------------------------------
+<kbd>\<leader\> .</kbd>   | switch to `lisp state`
 <kbd>\<leader\> %</kbd>   | evil jump item
 <kbd>\<leader\> :</kbd>   | ex command
 <kbd>\<leader\> (</kbd>   | insert expression before (same level as current 
one)
@@ -121,7 +122,7 @@ function `evil-lisp-state-leader`.
 
 If you don't want commands to enter in `lisp state` by default set the variable
 `evil-lisp-state-enter-lisp-state-on-command` to nil. Then use the
-<kbd>,,</kbd> to enter manually in `lisp state`
+<kbd><leader> .</kbd> to enter manually in `lisp state`
 
 [evil-link]: https://gitorious.org/evil/pages/Home
 [smartparens-link]: https://github.com/Fuco1/smartparens/wiki
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index aba79864ed..bc2540085f 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -44,6 +44,7 @@
 
 ;; Key Binding  | Function
 ;; -------------|------------------------------------------------------------
+;; `leader .'   | switch to `lisp state'
 ;; `leader %'   | evil jump item
 ;; `leader :'   | ex command
 ;; `leader ('   | insert expression before (same level as current one)
@@ -104,7 +105,7 @@
 
 ;; If you don't want commands to enter in `lisp state' by default
 ;; set the variable `evil-lisp-state-enter-lisp-state-on-command'
-;; to nil. Then use the `,,' to enter manually in `lisp state'
+;; to nil. Then use the `.' to enter manually in `lisp state'
 
 ;;; Code:
 
@@ -179,7 +180,7 @@ If `evil-lisp-state-global' is non nil then this variable 
has no effect."
 ;; escape
 (define-key evil-lisp-state-map [escape] 'evil-normal-state)
 ;; toggle lisp state
-(define-key evil-lisp-state-map ",," 'lisp-state-toggle-lisp-state)
+(define-key evil-lisp-state-map "." 'lisp-state-toggle-lisp-state)
 ;; hjkl
 (define-key evil-lisp-state-map "h" 'evil-backward-char)
 (define-key evil-lisp-state-map "j" 'evil-next-visual-line)



reply via email to

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