5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jupyter Notebookのショートカットキーをカスタマイズする

Last updated at Posted at 2018-03-03

~/.jupyter/nbconfig/notebook.jsonを編集してカスタマイズできます。

設定例

{
    "keys": {
        "edit": {
            "bind": {
                "Ctrl-J": "jupyter-notebook:run-cell-and-select-next"
            }
        }
    }
}

Ctrl + jで、現在カーソルがあるセルのコードを実行し、次のセルに移ります。

コマンド名の調べ方

コマンド名(jupyter-notebook:run-cell-and-select-nextの部分)は、コマンドパレット(Mac:⌘⇧P Win: Ctrl+Shift+p)を開いて、コマンド欄の右のほうにマウスオーバーすると確認できます。

screenshot.png

参考

Jupyter Notebook Docs: Customize keymaps

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?