mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(emacs): add biome
This commit is contained in:
parent
3a47b44068
commit
eac134c545
2 changed files with 32 additions and 0 deletions
|
|
@ -2299,6 +2299,8 @@ Returns (<buffer> . <workspace-index>) or nil."
|
||||||
(interactive "aFunction symbol: ")
|
(interactive "aFunction symbol: ")
|
||||||
(advice-mapc (lambda (advice _props) (advice-remove sym advice)) sym))
|
(advice-mapc (lambda (advice _props) (advice-remove sym advice)) sym))
|
||||||
|
|
||||||
|
(add-hook 'inferior-emacs-lisp-mode-hook #'lispy-mode)
|
||||||
|
|
||||||
(use-package slime
|
(use-package slime
|
||||||
:straight t
|
:straight t
|
||||||
:commands (slime)
|
:commands (slime)
|
||||||
|
|
@ -6262,6 +6264,17 @@ base toot."
|
||||||
"Q" 'google-translate-query-translate-reverse
|
"Q" 'google-translate-query-translate-reverse
|
||||||
"t" 'google-translate-smooth-translate)
|
"t" 'google-translate-smooth-translate)
|
||||||
|
|
||||||
|
(use-package biome
|
||||||
|
:straight (:host github :repo "SqrtMinusOne/biome")
|
||||||
|
:commands (biome)
|
||||||
|
:init
|
||||||
|
(my-leader-def "ab" #'biome)
|
||||||
|
:config
|
||||||
|
(add-to-list 'biome-query-coords
|
||||||
|
'("Saint-Petersburg, Russia" 59.93863 30.31413))
|
||||||
|
(add-to-list 'biome-query-coords
|
||||||
|
'("Tyumen, Russia" 57.15222 65.52722)))
|
||||||
|
|
||||||
(use-package tldr
|
(use-package tldr
|
||||||
:straight t
|
:straight t
|
||||||
:commands (tldr)
|
:commands (tldr)
|
||||||
|
|
|
||||||
19
Emacs.org
19
Emacs.org
|
|
@ -3132,6 +3132,10 @@ Remove all advice from function. Source: https://emacs.stackexchange.com/questio
|
||||||
(interactive "aFunction symbol: ")
|
(interactive "aFunction symbol: ")
|
||||||
(advice-mapc (lambda (advice _props) (advice-remove sym advice)) sym))
|
(advice-mapc (lambda (advice _props) (advice-remove sym advice)) sym))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
**** IELM
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-hook 'inferior-emacs-lisp-mode-hook #'lispy-mode)
|
||||||
|
#+end_src
|
||||||
*** Common lisp
|
*** Common lisp
|
||||||
**** SLIME
|
**** SLIME
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
@ -8710,6 +8714,21 @@ References:
|
||||||
"Q" 'google-translate-query-translate-reverse
|
"Q" 'google-translate-query-translate-reverse
|
||||||
"t" 'google-translate-smooth-translate)
|
"t" 'google-translate-smooth-translate)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** biome
|
||||||
|
[[https://github.com/SqrtMinusOne/biome][biome]] is my [[https://open-meteo.com/][open-meteo]] client.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package biome
|
||||||
|
:straight (:host github :repo "SqrtMinusOne/biome")
|
||||||
|
:commands (biome)
|
||||||
|
:init
|
||||||
|
(my-leader-def "ab" #'biome)
|
||||||
|
:config
|
||||||
|
(add-to-list 'biome-query-coords
|
||||||
|
'("Saint-Petersburg, Russia" 59.93863 30.31413))
|
||||||
|
(add-to-list 'biome-query-coords
|
||||||
|
'("Tyumen, Russia" 57.15222 65.52722)))
|
||||||
|
#+end_src
|
||||||
** Reading documentation
|
** Reading documentation
|
||||||
*** tldr
|
*** tldr
|
||||||
[[https://tldr.sh/][tldr]] is a collaborative project providing cheatsheets for various console commands. For some reason, the built-in download in the package is broken, so I use my own function.
|
[[https://tldr.sh/][tldr]] is a collaborative project providing cheatsheets for various console commands. For some reason, the built-in download in the package is broken, so I use my own function.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue