Jupyter lab shortcuts

后端 未结 6 1784
-上瘾入骨i
-上瘾入骨i 2020-12-12 21:56

I\'ve been using Jupyter Notebooks for a couple of years now. I\'ve just headed over to Jupyter Lab, but I\'ve found the lack of shortcuts to be a burden.

For exampl

6条回答
  •  一个人的身影
    2020-12-12 22:22

    On keyboards shortcuts of advance settings this code works fine for moving cells up and down

    {
        // Move cell up
        "shortcuts": [
            {
          "selector": ".jp-Notebook:focus",
          "command": "notebook:move-cell-up",
          "keys": [
            "Alt ArrowUp"
          ]
            },
        // Move cell down
            {
          "selector": ".jp-Notebook:focus",
          "command": "notebook:move-cell-down",
          "keys": [
            "Alt ArrowDown"
          ]
        }
        ]
    
    }
    

提交回复
热议问题