aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-08-14 18:04:29 +1000
committerYuchen Pei <id@ypei.org>2023-08-14 18:04:29 +1000
commitc8e22f94fc0fbbb4568b382e6e3ce593a99ad914 (patch)
tree900c089642ab803b30d9a748ea30767f813dd273 /emacs/.emacs.d/init
parent237190c09919bc437ebe9a6f54d42bce207ee5c5 (diff)
[emacs] Some minor tweaks
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-editing.el2
-rw-r--r--emacs/.emacs.d/init/ycp-org.el1
-rw-r--r--emacs/.emacs.d/init/ycp-prog.el3
3 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el
index ce850a0..f440e49 100644
--- a/emacs/.emacs.d/init/ycp-editing.el
+++ b/emacs/.emacs.d/init/ycp-editing.el
@@ -102,7 +102,7 @@
(my-package aggressive-indent
(:install t)
(:delay 15)
- (add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode))
+ (my-add-hooks #'aggressive-indent-mode '(emacs-lisp-mode-hook lisp-mode-hook)))
(my-package avy
(:install t)
diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el
index e57466a..8c195a9 100644
--- a/emacs/.emacs.d/init/ycp-org.el
+++ b/emacs/.emacs.d/init/ycp-org.el
@@ -43,6 +43,7 @@
(my-keybind org-mode-map
"C-a" #'my-org-beginning-of-line-or-indent
"C-k" #'my-org-kill-line
+ "M-k" #'my-org-kill-line-backwards
"M-l" #'org-insert-last-stored-link
"M-n" #'org-next-link
"M-p" #'org-previous-link
diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el
index 193ea54..7dc2f92 100644
--- a/emacs/.emacs.d/init/ycp-prog.el
+++ b/emacs/.emacs.d/init/ycp-prog.el
@@ -234,6 +234,9 @@
"C-M-x" #'my-eval-defun-or-region)
)
+(my-package inf-lisp
+ (setq inferior-lisp-program "clisp"))
+
(my-package data-debug
(:delay 10)
(my-keybind global-map