calcpy: improvements

- escape actually works in vi-mode
- added dg() alias for degrees()
This commit is contained in:
dogeystamp 2023-06-15 11:29:02 -04:00
parent 129ab023f3
commit f201868727
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 3 additions and 0 deletions

View File

@ -2,3 +2,4 @@ c = get_config()
c.TerminalInteractiveShell.editing_mode = "vi"
c.TerminalInteractiveShell.show_rewritten_input = False
c.TerminalInteractiveShell.emacs_bindings_in_vi_insert_mode = False

View File

@ -1,4 +1,6 @@
# vim: ft=python
from math import degrees as dg
# don't need parentheses on some function calls
%autocall 2