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')
|
- Optimized =spacemacs/title-prepare= (thanks to Andriy Kmit')
|
||||||
- Cached expensive computations in =spacemacs/title-prepare= (thanks to Dieter
|
- Cached expensive computations in =spacemacs/title-prepare= (thanks to Dieter
|
||||||
Komendera)
|
Komendera)
|
||||||
|
- Add line text object using =evil-textobj-line= (thanks to Uroš Perišić)
|
||||||
- Fixed:
|
- Fixed:
|
||||||
- Avoid non-idempotent use of push in init code (thanks to Miciah Masters)
|
- Avoid non-idempotent use of push in init code (thanks to Miciah Masters)
|
||||||
- Moved Spacemacs startup progress bar to =core-progress-bar.el=, removed
|
- 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 |
|
| ~a~ | an argument |
|
||||||
| ~g~ | the entire buffer |
|
| ~g~ | the entire buffer |
|
||||||
|
| ~l~ | a line |
|
||||||
| ~$~ | text between =$= |
|
| ~$~ | text between =$= |
|
||||||
| ~*~ | text between =*= |
|
| ~*~ | text between =*= |
|
||||||
| ~8~ | text between =/*= and =*/= |
|
| ~8~ | text between =/*= and =*/= |
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
;; Temporarily disabled, pending the resolution of
|
;; Temporarily disabled, pending the resolution of
|
||||||
;; https://github.com/7696122/evil-terminal-cursor-changer/issues/8
|
;; https://github.com/7696122/evil-terminal-cursor-changer/issues/8
|
||||||
;; evil-terminal-cursor-changer
|
;; evil-terminal-cursor-changer
|
||||||
|
evil-textobj-line
|
||||||
evil-tutor
|
evil-tutor
|
||||||
(evil-unimpaired :location (recipe :fetcher local))
|
(evil-unimpaired :location (recipe :fetcher local))
|
||||||
evil-visual-mark-mode
|
evil-visual-mark-mode
|
||||||
|
@ -318,6 +319,10 @@
|
||||||
evil-insert-state-cursor 'bar
|
evil-insert-state-cursor 'bar
|
||||||
evil-emacs-state-cursor 'hbar)))
|
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 ()
|
(defun spacemacs-evil/init-evil-tutor ()
|
||||||
(use-package evil-tutor
|
(use-package evil-tutor
|
||||||
:commands (evil-tutor-start
|
:commands (evil-tutor-start
|
||||||
|
|
Loading…
Reference in New Issue