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]] - [[#org-notifications][Org Notifications]]
- [[#magit][Magit]] - [[#magit][Magit]]
- [[#eshell][Eshell]] - [[#eshell][Eshell]]
- [[#vterm][Vterm]]
- [[#sly][Sly]] - [[#sly][Sly]]
- [[#pdf-tools][PDF-Tools]] - [[#pdf-tools][PDF-Tools]]
- [[#epub][EPUB]] - [[#epub][EPUB]]
@ -48,6 +49,7 @@
- [[#pass][Pass]] - [[#pass][Pass]]
- [[#matrixement][Matrix/Ement]] - [[#matrixement][Matrix/Ement]]
- [[#activitywatch][ActivityWatch]] - [[#activitywatch][ActivityWatch]]
- [[#languagetool][LanguageTool]]
- [[#qrencode][qrencode]] - [[#qrencode][qrencode]]
- [[#mybible][MyBible]] - [[#mybible][MyBible]]
- [[#performance][Performance]] - [[#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-preserve-indentation t
org-src-window-setup 'other-window org-src-window-setup 'other-window
org-export-with-broken-links t 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) (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)) "C-d" 'kill-buffer-and-window))
#+end_src #+end_src
** Vterm
#+begin_src emacs-lisp
(setq vterm-buffer-name-string "vterm %s")
#+end_src
** Sly ** Sly
Using sly makes a lot better common-lisp interaction within emacs. Using sly makes a lot better common-lisp interaction within emacs.
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -3034,6 +3042,12 @@ interfere with the default `bongo-playlist-buffer'."
(interactive) (interactive)
(display-buffer "*Bongo-Elfeed Queue*")) (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 :general
(chris/leader-keys (chris/leader-keys
"ob" 'bongo "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))) (global-activity-watch-mode -1)))
#+end_src #+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 ** qrencode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package qrencode) (use-package qrencode)

21
init.el
View file

@ -356,7 +356,8 @@
org-src-preserve-indentation t org-src-preserve-indentation t
org-src-window-setup 'other-window org-src-window-setup 'other-window
org-export-with-broken-links t 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) (add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -1949,6 +1950,8 @@ targets."
(general-def '(normal insert) eshell-mode-map (general-def '(normal insert) eshell-mode-map
"C-d" 'kill-buffer-and-window)) "C-d" 'kill-buffer-and-window))
(setq vterm-buffer-name-string "vterm %s")
(use-package sly (use-package sly
:mode :mode
("\\.lisp\\'" . sly-mode) ("\\.lisp\\'" . sly-mode)
@ -2174,6 +2177,12 @@ interfere with the default `bongo-playlist-buffer'."
(interactive) (interactive)
(display-buffer "*Bongo-Elfeed Queue*")) (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 :general
(chris/leader-keys (chris/leader-keys
"ob" 'bongo "ob" 'bongo
@ -2306,6 +2315,8 @@ interfere with the default `bongo-playlist-buffer'."
(chris/leader-keys (chris/leader-keys
"oM" 'ement-list-rooms)) "oM" 'ement-list-rooms))
(use-package langtool)
(use-package qrencode) (use-package qrencode)
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
@ -2353,13 +2364,9 @@ interfere with the default `bongo-playlist-buffer'."
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; 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 '(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/") '((projectile-project-run-cmd . "./build/bin/presenter")
(aggressive-indent-mode) (projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make -j8 --dir build/ && rm -rf ~/.cache/librepresenter/LibrePresenter/qmlcache/"))))
(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/Libre Presenter/qmlcache/"))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.