From cc87261421ebcb1dc87c8380347e9260a69c998d Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 3 Oct 2023 22:41:30 +1100 Subject: [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 --- emacs/.emacs.d/init/ycp-package.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init/ycp-package.el') 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 -- cgit v1.2.3