[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-lisp-state 5f663075fa 085/125: Better insert sexp aft
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-lisp-state 5f663075fa 085/125: Better insert sexp after/before |
Date: |
Thu, 6 Jan 2022 04:58:43 -0500 (EST) |
branch: elpa/evil-lisp-state
commit 5f663075fa245f5a70e6de6bf5de7370c8afa6fc
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Better insert sexp after/before
---
evil-lisp-state.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index e833241489..047b5008df 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -209,7 +209,7 @@ of COMMAND.
"Insert sexp after the current one."
(interactive)
(let ((sp-navigate-consider-symbols nil))
- (if (char-equal (char-after) ?\() (evil-lisp-state-forward-symbol))
+ (if (char-equal (char-after) ?\() (forward-char))
(sp-up-sexp)
(evil-insert-state)
(sp-newline)
@@ -219,12 +219,13 @@ of COMMAND.
"Insert sexp before the current one."
(interactive)
(let ((sp-navigate-consider-symbols nil))
- (if (char-equal (char-after) ?\() (evil-lisp-state-forward-symbol))
+ (if (char-equal (char-after) ?\() (forward-char))
(sp-backward-sexp)
(evil-insert-state)
(sp-newline)
(evil-previous-visual-line)
(evil-end-of-line)
+ (insert " ")
(sp-insert-pair "(")
(indent-for-tab-command)))
- [nongnu] elpa/evil-lisp-state 1a0efed5c2 068/125: Set back to t the variable sp-navigate-consider-symbols, (continued)
- [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
- [nongnu] elpa/evil-lisp-state 4a9071e1ea 076/125: Indicate the regular evil bindings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 0ddcc908e8 084/125: `RET` is for indent next line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 5f663075fa 085/125: Better insert sexp after/before,
ELPA Syncer <=
- [nongnu] elpa/evil-lisp-state 1607fe335a 091/125: Fix macro byte compilation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 014a5a5638 098/125: Replace lambda by defuns, change some bindings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state dbb7033cc9 107/125: Update documentation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 9f10498f6d 108/125: Add key bindings for hybrid functions, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state df3f2e1a3c 111/125: Fix confusing message in toggle state func, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 36e74307b5 083/125: Add `I` evil key binding, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 81ffba2855 086/125: Version 4.1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state fdddd81806 096/125: Rethink all the key-bindings to be used with evil-leader, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state 8a3cffa60b 100/125: Add 0 and $ key bindings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-lisp-state ca00f0f6f5 103/125: fix `evil-list-state` typo in readme, ELPA Syncer, 2022/01/06