Compare commits
2 commits
82c67a5f3b
...
32c64f3bba
Author | SHA1 | Date | |
---|---|---|---|
|
32c64f3bba | ||
|
98fd8f06f2 |
4 changed files with 55 additions and 1 deletions
|
@ -19,7 +19,7 @@ Here is the complete list of other optional dependencies:
|
|||
- [[https://github.com/hunspell/hunspell][Hunspell]]: if Hunspell is installed, Theurgy will use it and a dictionary file in the =user-emacs-directory= to provide completions with both flyspell and ispell. The =theurgy-hunspell-dict= variable can be customized to select a different dictionary than the =en_AU.dict= used by default. Additionally, the =ispell-dictionary= and =ispell-local-dictionary-alist= variables should be customised accordingly to get rid of the =en_AU= locale.
|
||||
- =all-the-icons=: =all-the-icons= requires icons to be manually installed with =all-the-icons-install-fonts= at least once.
|
||||
- [[https://git.cyan.sh/BirDt/ouroboros-emacs-themes][Ouroboros Emacs Themes]]: Ouroboros themes depend on [[https://git.cyan.sh/BirDt/ouroboros-emacs-themes#headline-6][3 fonts]] to properly display. These themes are not automatically loaded, so you may choose to load any other theme.
|
||||
|
||||
- [[https://github.com/gomuks/gomuks][gomuks]]: I've tried to provide some basic integration with Gomuks, as it is more usable for me than ement at the moment due to Pantalaimon not working properly.
|
||||
|
||||
In addition, =git= is a _hard dependency_ that must be installed for Theurgy to work.
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
("Dired" (dired "~") "d")
|
||||
("RSS" elfeed "r")
|
||||
("Terminal" theurgy-bottom-shell "t")
|
||||
("Gomuks" theurgy-gomuks-workspace "G")
|
||||
("Weather" theurgy-show-weather "w")))))
|
||||
:align center
|
||||
:width 20))
|
||||
|
|
|
@ -53,6 +53,24 @@
|
|||
(switch-to-buffer "*Shell Session*")
|
||||
(funcall (theurgy-shell) "*Shell Session*")))
|
||||
|
||||
(defun theurgy-gomuks ()
|
||||
"Launch gomuks as it's own buffer."
|
||||
(interactive)
|
||||
(if (get-buffer "*Gomuks*")
|
||||
(switch-to-buffer "*Gomuks*")
|
||||
(funcall (theurgy-shell) "*Gomuks*")
|
||||
(let ((buf (current-buffer)))
|
||||
(vterm-send-string "gomuks")
|
||||
(vterm-send-return)
|
||||
(rename-buffer "Gomuks"))))
|
||||
|
||||
(defun theurgy-gomuks-workspace ()
|
||||
"Launch gomuks as a workspace."
|
||||
(interactive)
|
||||
(theurgy-gomuks)
|
||||
(tab-rename "Gomuks")
|
||||
(tab-bar-change-tab-group "userland: gomuks"))
|
||||
|
||||
(define-key global-map (kbd "C-<return>") 'theurgy-main-shell)
|
||||
|
||||
(global-set-key (kbd "M-RET") 'theurgy-bottom-shell)
|
||||
|
|
35
workflows/config-custom.el
Normal file
35
workflows/config-custom.el
Normal file
|
@ -0,0 +1,35 @@
|
|||
;;; config-custom.el --- Tools for working with configuration files -*- lexical-binding: t -*-
|
||||
|
||||
;; This file is not part of GNU Emacs
|
||||
|
||||
;; This program is free software: you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; commentary
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; YAML File Editing
|
||||
(use-package yaml-mode
|
||||
:config
|
||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||
(add-hook 'yaml-mode-hook
|
||||
'(lambda ()
|
||||
(define-key yaml-mode-map "\C-m" 'newline-and-indent))))
|
||||
|
||||
(provide 'config-custom)
|
||||
|
||||
;;; config-custom.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue