[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-lisp-state 12f974b74d 124/125: Allow navigation for b
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-lisp-state 12f974b74d 124/125: Allow navigation for braces and brackets with j/k. |
Date: |
Thu, 6 Jan 2022 04:58:46 -0500 (EST) |
branch: elpa/evil-lisp-state
commit 12f974b74d14da442ee8c19ab719d49df463ea8d
Author: mahinshaw <mahinshaw@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Allow navigation for braces and brackets with j/k.
---
evil-lisp-state.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index 89f83b7625..969f73b518 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -68,9 +68,9 @@
;; `leader H' | go to previous sexp
;; `leader i' | switch to `insert state`
;; `leader I' | go to beginning of current expression and switch to `insert
state`
-;; `leader j' | next closing parenthesis
+;; `leader j' | next closing parenthesis/bracket/brace
;; `leader J' | join expression
-;; `leader k' | previous opening parenthesis
+;; `leader k' | previous opening parenthesis/bracket/brace
;; `leader l' | next symbol
;; `leader L' | go to next sexp
;; `leader p' | paste after
@@ -285,13 +285,13 @@ If `evil-lisp-state-global' is non nil then this variable
has no effect."
(sp-wrap-with-pair "("))
(defun evil-lisp-state-next-paren (&optional closing)
- "Go to the next/previous closing/opening parenthesis."
+ "Go to the next/previous closing/opening parenthesis/bracket/brace."
(if closing
(let ((curr (point)))
(forward-char)
- (unless (eq curr (search-forward ")"))
+ (unless (eq curr (search-forward-regexp "[])}]"))
(backward-char)))
- (search-backward "(")))
+ (search-backward-regexp "[[({]")))
(defun lisp-state-prev-opening-paren ()
"Go to the next closing parenthesis."
- [nongnu] elpa/evil-lisp-state 0a5381ce70 055/125: Update readme, (continued)
- [nongnu] elpa/evil-lisp-state 0a5381ce70 055/125: Update readme, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state cf8c984612 057/125: Minor change, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 692507643f 064/125: Fix `o` and `O` behavior, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 3f575dc466 081/125: Update commentary and fix some typos, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 0476f83b72 089/125: Update address of MELPA, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 758166a1a4 092/125: Fix macro for backward functions, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 159e849c2c 102/125: Tweak key bindings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 63e3183d14 101/125: Disabel auto-switch to lisp state for some commands, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 77bc863b7c 113/125: Fix default value for evil-lisp-state-enter-lisp-state-on-command, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 9d07f9efad 116/125: Reapply fix of confusion message when toggling state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 12f974b74d 124/125: Allow navigation for braces and brackets with j/k.,
ELPA Syncer <=
- [nongnu] elpa/evil-lisp-state b4c54ee3a0 122/125: Bump version to 8.1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 3c65fecd99 125/125: Bump version to 8.2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 0e7f902c74 029/125: Use directions for delete functions, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 5df70d1088 035/125: Bind sp-foward-symbol to `w`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 36d945c5db 071/125: Add autoload cookie to required custom variable, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 45bbdfce7f 072/125: Insert sibling before/after bindings on `(` and `)` respectively, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 3953f28dd2 078/125: Keep regular `r` binding for evil-replace, raise an sexp with `R`, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 0fcd49259b 080/125: Reorganize the bindings and align them with the philosophy behind evil-lisp-state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state d614275d93 094/125: Fix byte-compilation for defcustom variable, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 2eb0011287 105/125: Update README to version 7, ELPA Syncer, 2022/01/06