adding tree-sitter and mastodon
This commit is contained in:
parent
16b82d6fbc
commit
ff9a02b6c9
30
README.org
30
README.org
|
@ -48,6 +48,7 @@
|
|||
- [[#hass][HASS]]
|
||||
- [[#pass][Pass]]
|
||||
- [[#matrixement][Matrix/Ement]]
|
||||
- [[#mastodon][Mastodon]]
|
||||
- [[#activitywatch][ActivityWatch]]
|
||||
- [[#languagetool][LanguageTool]]
|
||||
- [[#qrencode][qrencode]]
|
||||
|
@ -237,7 +238,7 @@ Now, let's turn on =use-package=.
|
|||
(eval-when-compile (require 'use-package))
|
||||
#+end_src
|
||||
|
||||
,#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp
|
||||
(setq use-package-verbose t)
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
#+end_src
|
||||
|
@ -1973,8 +1974,11 @@ Let's also set =hl-line-mode= to be on for comint and prog modes
|
|||
|
||||
*** Tree Sitter
|
||||
I'm gonna try this to speed up emacs and make it nicer
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package tree-sitter)
|
||||
#+begin_src emacs-lisp
|
||||
(use-package tree-sitter
|
||||
:config
|
||||
(global-tree-sitter-mode +1)
|
||||
)
|
||||
(use-package tree-sitter-langs)
|
||||
#+end_src
|
||||
|
||||
|
@ -3246,6 +3250,26 @@ Matrix.el is a decent enough matrix client built in emacs. Like it.
|
|||
"oM" 'ement-list-rooms))
|
||||
#+end_src
|
||||
|
||||
** Mastodon
|
||||
I'd like to access the mastodon world through emacs too.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package mastodon
|
||||
:config
|
||||
(setq mastodon-instance-url "https://mastodon.online"
|
||||
mastodon-active-user "chriscochrun")
|
||||
:general
|
||||
(chris/leader-keys
|
||||
"oF" 'mastodon)
|
||||
(general-def mastodon-mode-map
|
||||
"q" 'bury-buffer
|
||||
"p" 'mastodon-toot
|
||||
"r" 'mastodon-tl--update
|
||||
"b" 'mastodon-toot--toggle-boost
|
||||
"H" 'mastodon-tl--get-home-timeline
|
||||
"F" 'mastodon-tl--get-federated-timeline
|
||||
"N" 'mastodon-notifications--timeline))
|
||||
#+end_src
|
||||
|
||||
** ActivityWatch
|
||||
I like to track my time with ActivityWatch so I can notice and kill bad habits. At least I used to but it is pretty heavy on resources and doesn't work on Wayland.
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
|
|
25
init.el
25
init.el
|
@ -96,6 +96,9 @@
|
|||
|
||||
(eval-when-compile (require 'use-package))
|
||||
|
||||
(setq use-package-verbose t)
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
(use-package command-log-mode
|
||||
:commands command-log-mode)
|
||||
|
||||
|
@ -1348,6 +1351,12 @@ targets."
|
|||
(add-hook 'prog-mode-hook 'hl-line-mode)
|
||||
(add-hook 'prog-mode-hook 'hs-minor-mode)
|
||||
|
||||
(use-package tree-sitter
|
||||
:config
|
||||
(global-tree-sitter-mode +1)
|
||||
)
|
||||
(use-package tree-sitter-langs)
|
||||
|
||||
(add-hook 'c++-mode-hook 'eglot)
|
||||
|
||||
(use-package web-mode
|
||||
|
@ -2311,6 +2320,22 @@ interfere with the default `bongo-playlist-buffer'."
|
|||
(chris/leader-keys
|
||||
"oM" 'ement-list-rooms))
|
||||
|
||||
(use-package mastodon
|
||||
:config
|
||||
(setq mastodon-instance-url "https://mastodon.online"
|
||||
mastodon-active-user "chriscochrun")
|
||||
:general
|
||||
(chris/leader-keys
|
||||
"oF" 'mastodon)
|
||||
(general-def mastodon-mode-map
|
||||
"q" 'bury-buffer
|
||||
"p" 'mastodon-toot
|
||||
"r" 'mastodon-tl--update
|
||||
"b" 'mastodon-toot--toggle-boost
|
||||
"H" 'mastodon-tl--get-home-timeline
|
||||
"F" 'mastodon-tl--get-federated-timeline
|
||||
"N" 'mastodon-notifications--timeline))
|
||||
|
||||
(use-package langtool)
|
||||
|
||||
(use-package qrencode)
|
||||
|
|
Loading…
Reference in a new issue