diff options
author | Yuchen Pei <id@ypei.org> | 2023-10-03 22:41:30 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-10-03 22:41:30 +1100 |
commit | cc87261421ebcb1dc87c8380347e9260a69c998d (patch) | |
tree | a43b80df9342a52654de35b1c3fcc49324da9b60 /misc/.gdbinit | |
parent | a696cbe0f1d96e2ac6a3454d716326f20312a4a8 (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 'misc/.gdbinit')
-rw-r--r-- | misc/.gdbinit | 4 |
1 files changed, 2 insertions, 2 deletions
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 |