adding vterm and languagetool sections

This commit is contained in:
Chris Cochrun 2022-11-08 09:28:55 -06:00
parent da03881624
commit 49c6fd5de8
2 changed files with 36 additions and 8 deletions

View file

@ -36,6 +36,7 @@
- [[#org-notifications][Org Notifications]]
- [[#magit][Magit]]
- [[#eshell][Eshell]]
- [[#vterm][Vterm]]
- [[#sly][Sly]]
- [[#pdf-tools][PDF-Tools]]
- [[#epub][EPUB]]
@ -48,6 +49,7 @@
- [[#pass][Pass]]
- [[#matrixement][Matrix/Ement]]
- [[#activitywatch][ActivityWatch]]
- [[#languagetool][LanguageTool]]
- [[#qrencode][qrencode]]
- [[#mybible][MyBible]]
- [[#performance][Performance]]
@ -591,7 +593,8 @@ Part of this config includes some special capture templates for my work as a you
org-src-preserve-indentation t
org-src-window-setup 'other-window
org-export-with-broken-links t
org-agenda-current-time-string "⭠ now ────────────────")
org-agenda-current-time-string "⭠ now ────────────────"
org-log-into-drawer t)
(add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -2778,6 +2781,11 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
"C-d" 'kill-buffer-and-window))
#+end_src
** Vterm
#+begin_src emacs-lisp
(setq vterm-buffer-name-string "vterm %s")
#+end_src
** Sly
Using sly makes a lot better common-lisp interaction within emacs.
#+begin_src emacs-lisp
@ -3034,6 +3042,12 @@ interfere with the default `bongo-playlist-buffer'."
(interactive)
(display-buffer "*Bongo-Elfeed Queue*"))
(defun chris/bongo-ytdlp ()
"Download the video or item using yt-dlp"
(interactive)
(while bongo-uri-p
(message bongo-file-name)))
:general
(chris/leader-keys
"ob" 'bongo
@ -3203,6 +3217,13 @@ I like to track my time with ActivityWatch so I can notice and kill bad habits.
(global-activity-watch-mode -1)))
#+end_src
** LanguageTool
I am going to try and use LanguageTool to fix grammatical issues.
#+begin_src emacs-lisp
(use-package langtool)
#+end_src
** qrencode
#+begin_src emacs-lisp
(use-package qrencode)

19
init.el
View file

@ -356,7 +356,8 @@
org-src-preserve-indentation t
org-src-window-setup 'other-window
org-export-with-broken-links t
org-agenda-current-time-string "⭠ now ────────────────")
org-agenda-current-time-string "⭠ now ────────────────"
org-log-into-drawer t)
(add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -1949,6 +1950,8 @@ targets."
(general-def '(normal insert) eshell-mode-map
"C-d" 'kill-buffer-and-window))
(setq vterm-buffer-name-string "vterm %s")
(use-package sly
:mode
("\\.lisp\\'" . sly-mode)
@ -2174,6 +2177,12 @@ interfere with the default `bongo-playlist-buffer'."
(interactive)
(display-buffer "*Bongo-Elfeed Queue*"))
(defun chris/bongo-ytdlp ()
"Download the video or item using yt-dlp"
(interactive)
(while bongo-uri-p
(message bongo-file-name)))
:general
(chris/leader-keys
"ob" 'bongo
@ -2306,6 +2315,8 @@ interfere with the default `bongo-playlist-buffer'."
(chris/leader-keys
"oM" 'ement-list-rooms))
(use-package langtool)
(use-package qrencode)
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
@ -2353,12 +2364,8 @@ interfere with the default `bongo-playlist-buffer'."
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pdf-misc-print-program "/usr/bin/lpr")
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
'(safe-local-variable-values
'((projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make -j8 --dir build/ && rm -rf ~/.cache/librepresenter/LibrePresenter/qmlcache/")
(aggressive-indent-mode)
(projectile-project-run-cmd . "./build/bin/presenter")
'((projectile-project-run-cmd . "./build/bin/presenter")
(projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make -j8 --dir build/ && rm -rf ~/.cache/librepresenter/LibrePresenter/qmlcache/"))))
(custom-set-faces
;; custom-set-faces was added by Custom.