aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-09-07 23:15:32 +1000
committerYuchen Pei <id@ypei.org>2023-09-07 23:15:32 +1000
commit6ec968e2cadca7e4df4aba8960e758aa6c7d00b0 (patch)
treec080d4738f61eb0ed32258da56f528292a79e65c /emacs/.emacs.d/init
parent1622ac38772868d101e48107591db8f4700627c4 (diff)
[emacs] Some small enhancement
Remove empty blocks automatically. When org-insert-structure-template, with a prefix, auto yank into block and exit
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-complete.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el
index c527329..f76ebbb 100644
--- a/emacs/.emacs.d/init/ycp-complete.el
+++ b/emacs/.emacs.d/init/ycp-complete.el
@@ -221,6 +221,7 @@
"C-x l" #'consult-locate
"M-K" #'consult-keep-lines ; M-S-k is similar to M-S-5 (M-%)
"M-F" #'consult-focus-lines ; same principle
+ "M-g g" #'consult-goto-line
"M-s M-b" #'consult-buffer
"M-s M-f" #'consult-find
"M-s M-G" #'my-consult-grep