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 --- misc/.gdbinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/.gdbinit') diff --git a/misc/.gdbinit b/misc/.gdbinit index 39fe043..b1eb7d8 100644 --- a/misc/.gdbinit +++ b/misc/.gdbinit @@ -12,12 +12,12 @@ handle SIGHUP nostop handle SIGTERM nostop noprint handle SIG32 nostop noprint handle SIG33 nostop noprint +alias dsp = display alias ud = undisplay alias wl = watch -l alias awl = awatch -l alias rwl = rwatch -l -alias dsp = display -alias rst = restart +alias rt = restart set history save on set history filename ~/.gdb_history set history remove-duplicates unlimited -- cgit v1.2.3