feat: add evil-numbers

This commit is contained in:
Leon Schwarzäugl 2025-01-07 15:34:44 +01:00
parent 00e39fd437
commit c831e5f83e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 10 additions and 0 deletions

View file

@ -12347,6 +12347,14 @@ This adds support for tree-sitter objects. This allows for the following chords:
;; You can also bind multiple items and we will match the first one we can find ;; You can also bind multiple items and we will match the first one we can find
(define-key evil-outer-text-objects-map "a" (evil-textobj-tree-sitter-get-textobj ("if_statement.outer" "conditional.outer" "loop.outer") '((python-mode . ((if_statement.outer) @if_statement.outer)) (python-ts-mode . ((if_statement.outer) @if_statement.outer))))) (define-key evil-outer-text-objects-map "a" (evil-textobj-tree-sitter-get-textobj ("if_statement.outer" "conditional.outer" "loop.outer") '((python-mode . ((if_statement.outer) @if_statement.outer)) (python-ts-mode . ((if_statement.outer) @if_statement.outer)))))
#+end_src
**** evil-textobj-tree-sitter
#+begin_src emacs-lisp
(use-package evil-numbers)
#+end_src #+end_src
*** ispell *** ispell
:PROPERTIES: :PROPERTIES:

View file

@ -553,6 +553,8 @@ create a new one."
;; You can also bind multiple items and we will match the first one we can find ;; You can also bind multiple items and we will match the first one we can find
(define-key evil-outer-text-objects-map "a" (evil-textobj-tree-sitter-get-textobj ("if_statement.outer" "conditional.outer" "loop.outer") '((python-mode . ((if_statement.outer) @if_statement.outer)) (python-ts-mode . ((if_statement.outer) @if_statement.outer))))) (define-key evil-outer-text-objects-map "a" (evil-textobj-tree-sitter-get-textobj ("if_statement.outer" "conditional.outer" "loop.outer") '((python-mode . ((if_statement.outer) @if_statement.outer)) (python-ts-mode . ((if_statement.outer) @if_statement.outer)))))
(use-package evil-numbers)
;; set the NixOS wordlist by hand ;; set the NixOS wordlist by hand
(setq ispell-alternate-dictionary (getenv "WORDLIST")) (setq ispell-alternate-dictionary (getenv "WORDLIST"))