##// END OF EJS Templates
fix for removed '-editor' command line option and clarification of configuration file option for TerminalInteractiveShell.editor
Erik Tollerud -
Show More
@@ -2268,11 +2268,10 b' Currently the magic system has the following functions:\\n"""'
2268 vi under Linux/Unix and to notepad under Windows. See the end of this
2268 vi under Linux/Unix and to notepad under Windows. See the end of this
2269 docstring for how to change the editor hook.
2269 docstring for how to change the editor hook.
2270
2270
2271 You can also set the value of this editor via the command line option
2271 You can also set the value of this editor via the
2272 '-editor' or in your configuration file (via the
2272 ``TerminalInteractiveShell.editor`` option in your configuration file.
2273 ``TerminalInteractiveShell.editor`` option). This is useful if you wish
2273 This is useful if you wish to use a different editor from your typical
2274 to use an editor specifcally for IPython that is different from your
2274 default with IPython (and for Windows users who typically don't set
2275 typical default (and for Windows users who typically don't set
2276 environment variables).
2275 environment variables).
2277
2276
2278 This command allows you to conveniently edit multi-line code right in
2277 This command allows you to conveniently edit multi-line code right in
@@ -236,16 +236,16 b' class ZMQInteractiveShell(InteractiveShell):'
236 %edit [options] [args]
236 %edit [options] [args]
237
237
238 %edit runs IPython's editor hook. The default version of this hook is
238 %edit runs IPython's editor hook. The default version of this hook is
239 set to call the __IPYTHON__.rc.editor command. This is read from your
239 set to call the __IPYTHON__.rc.dditor command. This is read from your
240 environment variable $EDITOR. If this isn't found, it will default to
240 environment variable $EDITOR. If this isn't found, it will default to
241 vi under Linux/Unix and to notepad under Windows. See the end of this
241 vi under Linux/Unix and to notepad under Windows. See the end of this
242 docstring for how to change the editor hook.
242 docstring for how to change the editor hook.
243
243
244 You can also set the value of this editor via the command line option
244 You can also set the value of this editor via the
245 '-editor' or via the 'editor' option in your configuration file.
245 ``TerminalInteractiveShell.editor`` option in your configuration file.
246 This is useful if you wish to use specifically for IPython an editor
246 This is useful if you wish to use a different editor from your typical
247 different from your typical default (and for Windows users who typically
247 default with IPython (and for Windows users who typically don't set
248 don't set environment variables).
248 environment variables).
249
249
250 This command allows you to conveniently edit multi-line code right in
250 This command allows you to conveniently edit multi-line code right in
251 your IPython session.
251 your IPython session.
General Comments 0
You need to be logged in to leave comments. Login now