aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-package.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-03 22:41:30 +1100
committerYuchen Pei <id@ypei.org>2023-10-03 22:41:30 +1100
commitcc87261421ebcb1dc87c8380347e9260a69c998d (patch)
treea43b80df9342a52654de35b1c3fcc49324da9b60 /emacs/.emacs.d/init/ycp-package.el
parenta696cbe0f1d96e2ac6a3454d716326f20312a4a8 (diff)
[emacs] [gdb] Some small changes
- my-mark-backward-up-list: like backward-up-list, but also mark the sexp - my-kill-sexp-or-comment: kill the next sexp or comment, replacing kill-sexp - my-mark-sexp-or-comment: mark the next sexp or comment, replacing mark-sexp - my-magit-ignore-other-worktrees: a filter-args advice to add --ignore-other-worktrees to magit-checkout
Diffstat (limited to 'emacs/.emacs.d/init/ycp-package.el')
-rw-r--r--emacs/.emacs.d/init/ycp-package.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-package.el b/emacs/.emacs.d/init/ycp-package.el
index 3662b53..f0af72c 100644
--- a/emacs/.emacs.d/init/ycp-package.el
+++ b/emacs/.emacs.d/init/ycp-package.el
@@ -61,7 +61,9 @@
'((hcel . "elpa-devel")
(luwak . "elpa-devel")))
(add-hook 'package-menu-mode-hook #'hl-line-mode)
-)
+ (my-keybind package-menu-mode-map
+ "g" #'package-refresh-contents)
+ )
(my-package cus-edit
(my-keybind global-map