Add line text object using `evil-textobj-line`
This commit is contained in:
parent
3fca351e08
commit
2ef94efbf4
|
@ -465,6 +465,7 @@ Other:
|
|||
- Optimized =spacemacs/title-prepare= (thanks to Andriy Kmit')
|
||||
- Cached expensive computations in =spacemacs/title-prepare= (thanks to Dieter
|
||||
Komendera)
|
||||
- Add line text object using =evil-textobj-line= (thanks to Uroš Perišić)
|
||||
- Fixed:
|
||||
- Avoid non-idempotent use of push in init code (thanks to Miciah Masters)
|
||||
- Moved Spacemacs startup progress bar to =core-progress-bar.el=, removed
|
||||
|
|
|
@ -1831,6 +1831,7 @@ Additional text objects are defined in Spacemacs:
|
|||
|---------+----------------------------|
|
||||
| ~a~ | an argument |
|
||||
| ~g~ | the entire buffer |
|
||||
| ~l~ | a line |
|
||||
| ~$~ | text between =$= |
|
||||
| ~*~ | text between =*= |
|
||||
| ~8~ | text between =/*= and =*/= |
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
;; Temporarily disabled, pending the resolution of
|
||||
;; https://github.com/7696122/evil-terminal-cursor-changer/issues/8
|
||||
;; evil-terminal-cursor-changer
|
||||
evil-textobj-line
|
||||
evil-tutor
|
||||
(evil-unimpaired :location (recipe :fetcher local))
|
||||
evil-visual-mark-mode
|
||||
|
@ -318,6 +319,10 @@
|
|||
evil-insert-state-cursor 'bar
|
||||
evil-emacs-state-cursor 'hbar)))
|
||||
|
||||
(defun spacemacs-evil/init-evil-textobj-line ()
|
||||
;; No laziness here, the line text object should be available right away.
|
||||
(use-package evil-textobj-line))
|
||||
|
||||
(defun spacemacs-evil/init-evil-tutor ()
|
||||
(use-package evil-tutor
|
||||
:commands (evil-tutor-start
|
||||
|
|
Loading…
Reference in New Issue