calcpy: improvements
- escape actually works in vi-mode - added dg() alias for degrees()
This commit is contained in:
parent
129ab023f3
commit
f201868727
@ -2,3 +2,4 @@ c = get_config()
|
|||||||
|
|
||||||
c.TerminalInteractiveShell.editing_mode = "vi"
|
c.TerminalInteractiveShell.editing_mode = "vi"
|
||||||
c.TerminalInteractiveShell.show_rewritten_input = False
|
c.TerminalInteractiveShell.show_rewritten_input = False
|
||||||
|
c.TerminalInteractiveShell.emacs_bindings_in_vi_insert_mode = False
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
# vim: ft=python
|
# vim: ft=python
|
||||||
|
|
||||||
|
from math import degrees as dg
|
||||||
|
|
||||||
# don't need parentheses on some function calls
|
# don't need parentheses on some function calls
|
||||||
%autocall 2
|
%autocall 2
|
||||||
|
Loading…
Reference in New Issue
Block a user