-
Notifications
You must be signed in to change notification settings - Fork 0
Shift tab
This extension is redundant in 4.x Jupyter.
The dedent hotkey for the IPython notebook is Ctrl-]. Unfortunately, for non-US keyboards it is difficult or even impossible to generate this key combination.
Therefore, the shift-tab extension allows using Shift-tab keys for dedent operation.
Copy the file shift-tab.js to the /nbextensions/usability/ directory of your local .ipython directory.
Then load the extension from within the IPyton notebook:
%%javascript
IPython.load_extensions('usability/shift-tab');Alternatively, you can add the load command to your custom.js. Take a look at the general installation instructions in the Wiki if you are unsure how to proceed.
The extension registers Shift-tab to the IPython keyboard_manager and calls the indentLess command in codemirror when shift-tab is pressed. Be aware, this overrides the configuration to show docstrings when pressing shift-tab. Your choice...
Aspell
Breakpoints
Chrome Clipboard
Codefolding
Comment Uncomment
Drag and Drop
Execute Timings
Help Panel
Hide Input All
Hierarchical Collapse
International Keymap
Javascript Highlighter
LaTeX Environments
Limit Output
Linenumbers
Navigation Hotkeys
Nbconvert Button
Printview Button
Printviewmenu Button
Python Markdown
Readonly
Rubberband
Runtools
Search & Replace
Search
Shift-Tab 3.x
Skip Traceback