[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-lisp-state f387d10375 054/125: `L` bindings no go to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-lisp-state f387d10375 054/125: `L` bindings no go to the beginning of the next sexp at the same level |
Date: |
Thu, 6 Jan 2022 04:58:41 -0500 (EST) |
branch: elpa/evil-lisp-state
commit f387d1037537265bd8965a2ae842db2238b6e843
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
`L` bindings no go to the beginning of the next sexp at the same level
Version 1.6
---
evil-lisp-state.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index d040d1622a..0f56da96e1 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -5,7 +5,7 @@
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; Keywords: convenience editing evil smartparens lisp mnemonic
;; Created: 9 Oct 2014
-;; Version: 1.5.4
+;; Version: 1.6
;; Package-Requires: ((evil "1.0.9") (smartparens "1.6.1") (expand-region
"0.10.0"))
;; URL: https://github.com/syl20bnr/evil-lisp-state
@@ -116,7 +116,7 @@ of COMMAND.
(define-key evil-lisp-state-map "k" 'sp-up-sexp)
(define-key evil-lisp-state-map "K" 'sp-backward-up-sexp)
(define-key evil-lisp-state-map "l" 'sp-forward-symbol)
-(define-key evil-lisp-state-map "L" 'sp-forward-sexp)
+(define-key evil-lisp-state-map "L" 'evil-lisp-state-next-sexp)
(define-key evil-lisp-state-map "m" 'sp-join-sexp)
(define-key evil-lisp-state-map "o" 'evil-lisp-state-insert-below)
(define-key evil-lisp-state-map "O" 'evil-open-above)
@@ -147,6 +147,12 @@ of COMMAND.
(evil-end-of-line)
(eval-last-sexp nil)))
+(defun evil-lisp-state-next-sexp ()
+ "Go to the beginning of the next sexp of the same level."
+ (interactive)
+ (sp-forward-sexp) (sp-forward-sexp)
+ (sp-backward-sexp))
+
(defun evil-lisp-state-insert-left-paren ()
"Switch to insert state and insert `('"
(interactive)
- [nongnu] elpa/evil-lisp-state 90c8a95714 061/125: Add `%` key binding documentation in readme, (continued)
- [nongnu] elpa/evil-lisp-state 90c8a95714 061/125: Add `%` key binding documentation in readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 46fbe7ade7 069/125: Keep `a` for evil-append, absorb-sexp is now on `A`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 176ebd50e8 062/125: Change key binding `xs` to `xx` for consistency, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 3a72893879 031/125: New common backward prefix, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 37533c6d13 032/125: Type in readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 769d43ab36 036/125: Add forward/backward symbol binding to `L` and `H` respectively, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 7b1d98bf75 041/125: Version 1.3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 0f6eefcb3e 045/125: Add `o` command to insert a new sexp at point on a new line below, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 77b8cc7bd8 050/125: Add key binding `(` which switches to insert state and insert `(`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state dbc6ae05b5 051/125: Add evil-open-above with binding `O`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state f387d10375 054/125: `L` bindings no go to the beginning of the next sexp at the same level,
ELPA Syncer <=
- [nongnu] elpa/evil-lisp-state 29a85e9948 059/125: Minor change in readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state ca32c94dce 067/125: Update commentary, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 1a0efed5c2 068/125: Set back to t the variable sp-navigate-consider-symbols, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 48b8c735ed 008/125: Fix configuration example in package commentary, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state c63d601878 025/125: Import evil-motion-state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 8df5c30ccb 026/125: Update README.md, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 33ce3bb4f5 065/125: Tweak navigation model to make it ever simpler, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state bce255c48e 066/125: Minor change to readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 67ee83c135 074/125: Regular `y` evil command and sp-copy-sexp binding is now `Y`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 84ec92a0e6 075/125: Version 3.3, ELPA Syncer, 2022/01/06