mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add evil-numbers
This commit is contained in:
parent
00e39fd437
commit
c831e5f83e
2 changed files with 10 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue