title: Custom keyboard shortcut for jupyter-notebook and jupyter-lab for moving line up/down
body: <p>Can we use sublime style keyboard shortcuts in jupyter-notebook and jupyter-lab cells ? </p>
  
  <p>** Example Requirement:**<br>
  cmd shift up  moves the line up in jupyter cell</p>
  
  <p><strong>NOTE:</strong> 
   I am using jupyter-lab using conda environment.</p>
  
  <p>My attempts:</p>
  
  <ol>
  <li><p>In jupyter-lab I changed text editor to sublime, it works only in
  text editor, not in jupyter cells.</p></li>
  <li><p>I followed this blog:
  <a href="http://blog.rtwilson.com/how-to-get-sublime-text-style-editing-in-the-ipythonjupyter-notebook/" rel="noreferrer">http://blog.rtwilson.com/how-to-get-sublime-text-style-editing-in-the-ipythonjupyter-notebook/</a></p>
  
  <ul>
  <li>placed the javascript at <code>~/.jupyter/custom/custom.js</code></li>
  <li>also tried at <code>~/miniconda3/lib/python3.6/site-packages/notebook/static/custom/custom.js</code></li>
  </ul></li>
  </ol>
  
  <p>cmd-shift-up/down selects line and above line, does not move them.</p>
  
  <ol start="3">
  <li>Installed extension
  <a href="https://github.com/ryantam626/jupyterlab_black" rel="noreferrer">https://github.com/ryantam626/jupyterlab_black</a></li>
  </ol>
  
  <p>This also did not work in jupyter-cell.</p>
  
  <h1>can we do like this (use sublime keymaps in jupyter cell) ?</h1>
  
  <p><a href="http://blog.rtwilson.com/how-to-get-sublime-text-style-editing-in-the-ipythonjupyter-notebook/" rel="noreferrer">http://blog.rtwilson.com/how-to-get-sublime-text-style-editing-in-the-ipythonjupyter-notebook/</a>
  <a href="https://i.stack.imgur.com/kNxeW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kNxeW.png" alt=""></a></p>