summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-25 19:52:03 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-25 19:52:03 -0400
commitda17f67c5950de25b6399fd08718730acb9be422 (patch)
tree36385a2cea3b64bf365cfa41db16c8ebeff36e7a /lisp
parente7f262d8b009915ad805b7a7435f962a7af2f46b (diff)
Inhibiting Ctrl + Z and adding plantuml
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 3b19102..9b3f6c9 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -16,6 +16,11 @@
auto-save-default nil
create-lockfiles nil)
+; Inhibit C-z
+(when (display-graphic-p)
+ (global-unset-key (kbd "C-z"))
+ (global-unset-key (kbd "C-x C-z")))
+
(setq delete-old-versions t
kept-new-versions 6
kept-old-versions 2
@@ -323,7 +328,10 @@
(use-package plantuml-mode
:ensure t
:config
- (add-to-list 'auto-mode-alist '("\\.puml\\'" . plantuml-mode)))
+ (add-to-list 'auto-mode-alist '("\\.puml\\'" . plantuml-mode))
+ (setq plantuml-jar-path "~/.emacs.d/plantuml-1.2023.11.jar")
+ (setq plantuml-default-exec-mode 'jar)
+ (setq plantuml-indent-level 4))
(add-hook 'plantuml-mode-hook
(lambda ()