Stata 15 help for set_insertmode

[R] set insertmode -- Set behavior of command-line editing in Unix (console)


set insertmode {on | off} [, permanently]


set insertmode allows you to control how command-line editing behaves in Unix (console). The default is set insertmode off, which is the same thing as overwrite mode.


permanently specifies that, in addition to making the change right now, the setting be remembered and become the default setting when you invoke Stata.


By default, the command line for Stata for Unix (console) is in overwrite mode. If you use the left arrow to go into the middle of a command line you are typing, any characters you type will overwrite the characters at the cursor position.

If you set insertmode on, then any characters you type will be inserted at the cursor position without overwriting other characters.

If you prefer insert mode to be on, specify the permanently option, and Stata for Unix (console) will automatically use this mode every time you start Stata.

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index