Update .emacs.d/README.org
Update .emacs.d/early-init.el
This commit is contained in:
parent
2f7cfcbe20
commit
d4281334f8
2 changed files with 27 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
- [[#snippets][Snippets]]
|
||||
- [[#magit][Magit]]
|
||||
- [[#docker][Docker]]
|
||||
- [[#popper][popper]]
|
||||
- [[#languages][Languages]]
|
||||
- [[#mail][Mail]]
|
||||
|
||||
|
@ -353,6 +354,31 @@ Magit is a git client in Emacs.
|
|||
:bind ("C-c d" . docker))
|
||||
#+end_src
|
||||
|
||||
** popper
|
||||
|
||||
Popper is a package that allows us to have popup buffers. This is really useful when working with REPL languages such as Javascript or Go.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package popper
|
||||
:ensure t ; or :straight t
|
||||
:bind (("C-c p t" . popper-toggle)
|
||||
("C-c p c" . popper-cycle)
|
||||
("C-c p w" . popper-toggle-type))
|
||||
:init
|
||||
(setq popper-reference-buffers
|
||||
'("\\*Messages\\*"
|
||||
"Output\\*$"
|
||||
"\\*Async Shell Command\\*"
|
||||
help-mode
|
||||
compilation-mode
|
||||
"^\\*eshell.*\\*$" eshell-mode
|
||||
"^\\*shell.*\\*$" shell-mode
|
||||
"^\\*term.*\\*$" term-mode
|
||||
"^\\*vterm.*\\*$" vterm-mode))
|
||||
(popper-mode)
|
||||
(popper-echo-mode))
|
||||
#+end_src
|
||||
|
||||
** Languages
|
||||
*** tree-sitter
|
||||
Tree-sitter is a built-in Emacs package that allows us to have extremely well integrated language grammar. Here, we're setting up the list of sources, most of them being on tree-sitter's official GitHub, as well as hooking up the languages to their different modes.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;; Enable local variables
|
||||
(setq enable-local-variables :safe)
|
||||
(setq enable-local-variables :all)
|
||||
|
||||
;; Paths to config.org and the tangled init.el
|
||||
(defvar org-config-file (expand-file-name "README.org" user-emacs-directory))
|
||||
|
|
Loading…
Reference in a new issue