-
Notifications
You must be signed in to change notification settings - Fork 0
Shift tab
The indent and dedent hotkeys for the IPython notebook are Ctrl-[ and Ctrl-]. Unfortunately, for non-US keyboards it is somtimes difficult or even not possible to generate this key combination.
Therefore, the shift-tab extension allows using Shift-tab keys for dedent operation.
Copy the shift-tab.js file, and add require(['/static/custom/shift-tab.js']) to custom.js in your profile's /static/custom directory, so it looks like this:
$([IPython.events]).on('app_initialized.NotebookApp', function(){
//...
require(['/static/custom/shift-tab.js'])
});The extension registers Shift-tab for indentLess operation in codemirror. Additionally, some magic is required to actually enable this functionality by intercepting the codemirror keyevent function.
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