Skip to content

Instantly share code, notes, and snippets.

@wenjianhn
Created December 5, 2012 09:51
Show Gist options
  • Save wenjianhn/4214372 to your computer and use it in GitHub Desktop.
Save wenjianhn/4214372 to your computer and use it in GitHub Desktop.
nose_[|un]set_trace
(global-set-key [(f8)] 'nose_set_trace)
(global-set-key [(C-f8)] 'nose_unset_trace)
(fset 'nose_set_trace
"import nose; nose.tools.set_trace();#:\C-x\C-s; \C-a\C-xr .")
(fset 'nose_unset_trace
"\C-xrj.\C-k\C-k")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment