0
時々私はipythonロングipythonコマンド:提出/ナビゲーション
In [4]: def foo():
...: a
...: bery # here's the error
...: long
...: function
...: definition
...: that
...: has
...: some
...: error
...: at
...: the
...: top
...:
に長い文を入力することだろうと、私はエラーを修正し、機能を提出できるようにしたいと思いますが、代わりに私のワークフローがどのように見えますこの
In [7]: def foo():
...: a
...: very # 2) FIXED - I want to be able to ENTER from this line
...: # 3) but instead I get a newline
...: long
...: function
...: definition
...: that
...: has
...: some
...: error
...: at
...: the
...: top
...: # 1) I have to start here and scroll all the way to the top
...: # 4) so now I have to scroll all the way down here to ENTER the fixed function
...:
に、より効率的に、私がしたいコードの先頭に移動する方法に
- 上の任意のアドバイスを
- はどこでもブロック内からセルを送信するには、エンド
ありがとうございました!あなたがクイックナビゲーションへの解決策を見つけたら、私に知らせてください。 http://ipython.readthedocs.io/en/stable/config/shortcuts/ 、我々はまた、 --TerminalInteractiveShell.editing_mode = VI このオプションを指定してvimのコマンドモードに入ることができますがより多くのドキュメントがここにあるよう –
が見えます https://stackoverflow.com/questions/10394302/how-do-i-use-vi-keys-in-ipython-under-nixを参照してください。 –