Mercurial > hg > dotemacs
changeset 145:ef785711492a
gud: new binding, akin to pudb's until
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Sat, 07 May 2016 22:26:20 -0400 |
parents | 3b96117fe2ae |
children | 391b48c4b711 |
files | dotemacs.el |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dotemacs.el +++ b/dotemacs.el @@ -75,6 +75,13 @@ (global-unset-key (kbd "C-x C-z")) (global-set-key (kbd "C-x C-z") 'gud-stop-subjob) +;; Like pdb's "until" +(global-set-key (kbd "C-<return>") + (lambda () (interactive) + (progn + (gud-tbreak (line-number-at-pos)) + (gud-cont (line-number-at-pos))))) + ;; web-mode doesn't seem to have another way of figuring out which ;; engine to use, but Django templates is all I care about for now. (setq web-mode-engines-alist