Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: do-file editor shortcuts


From   David Kantor <[email protected]>
To   [email protected]
Subject   Re: st: do-file editor shortcuts
Date   Thu, 09 May 2013 10:36:41 -0400

At 11:15 PM 5/8/2013, Timothy Mak wrote:
Hi Statalist,

The Stata do-file editor obviously recognizes a number of keystrokes which are shortcuts for some features. For example, Ctrl-I is indent and Ctrl-Shift-I is decrease indent. These were available in the menu of Stata 10 editors, but not anymore in Stata 12, although the shortcuts continue to work.

Occasionally I pressed something accidentally, and the editor changed in some queer ways, and I wasn't able to identify what I pressed. Once the spacing between the lines increased. Another time "hidden characters" which seemed to be paragraph marks appeared, and I wasn't able to get rid of them except by closing and reopening the file. Has someone collected a list of active shortcuts for the do-file editors?
[...]

You can invoke any of the menus by ctrl plus the initial letter. Thus, ctrl-F gives you FIle.
Then you can make your choice by typing one of the underlined letters.
So, to save, I go, ctrf-F S.

On each of the menus, the shortcuts are explained. E.g., under Edit, you see ctrl-U for change case. Under File, you'll find ctrl-S for Save (another alternative way to Save) plus others.

In addition to those seen in the menus...

Shift + arrow keys selects text.
ctrl-Home -- go to top of buffer
ctrl-End -- go to bottom of buffer
ctrl-PgUp -- cycle forward through multiple buffers
ctrl-PgDn -- cycle backward through multiple buffers
ctrl-Tab -- cycle backward through multiple buffers (just discovered that today by accident).

There may be others.
HTH
--David

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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