10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Key and Mouse Bindings<br />

KEY AND MOUSE BINDINGS<br />

Key and mouse bindings are quick ways to execute operations in <strong>SlickEdit</strong>®. Key bindings are the most<br />

efficient. Time is wasted each time you lift your hand from the keyboard to grab the mouse, and more time<br />

is wasted when you move your hand back to the keyboard in preparation for more typing. Therefore, if you<br />

learn the key bindings associated with operations that you use most frequently, you will save time coding.<br />

If an operation you use frequently isn’t already bound by default, create your own easy-to-remember<br />

binding.<br />

What is a Binding?<br />

A key or mouse binding is a key sequence or mouse event associated with a command. Key terms are<br />

defined as follows:<br />

• Mouse event - The clicking of any button or motion of the mouse wheel.<br />

• Key - Any single key on the keyboard.<br />

• Key combination - Two or more keys pressed simultaneously, for example, Ctrl+O (in CUA<br />

emulation, associated with the gui_open command, File > Open, and the Open button on the<br />

Standard toolbar). The plus (+) sign between the keys indicates that these keys must be pressed<br />

simultaneously: press the Ctrl and O keys at the same time. Note that the last key is caseinsensitive.<br />

You do not need to press Shift.<br />

• Key sequence - A series of one or more keys or key combinations, for example, Ctrl+X,R (in Vim<br />

emulation, this binding is associated with the redo command, Edit > Redo, and the Redo button<br />

on the Standard toolbar). The comma (,) indicates that each key must be pressed consecutively:<br />

press Ctrl and X at the same time, release, then press the R key.<br />

• Key binding range - A command bound to a range of keys. For example, the alt_bookmark<br />

command is bound by default to the key combination range of Ctrl+0 through Ctrl+9. Press Ctrl+0<br />

to create a bookmark named “0”, Ctrl+1 to create a bookmark named “1”, etc.<br />

To view or change bindings, create new bindings, and export/import custom bindings, see Key and Mouse<br />

Bindings.<br />

The available key bindings change depending on the selected emulation. While <strong>SlickEdit</strong>® provides<br />

emulations for 13 editors, CUA is the default emulation, so key bindings listed throughout the<br />

documentation are for the CUA emulation. To change the emulation mode, click Tools > Options ><br />

Emulation. For more information, see Emulations.<br />

NOTE<br />

• For documentation purposes, both mouse events and keys that are bound to commands are<br />

often referred to collectively as key bindings.<br />

• The <strong>SlickEdit</strong> main menu displays the key bindings for commands associated with each<br />

menu entry. See Accessing Menus and Creating and Editing Menus for more information.<br />

• A menu hotkey is a key sequence that corresponds to an underlined letter on a menu name.<br />

See Menu Hotkeys for more information about these items.<br />

Managing Bindings<br />

Create and manage key bindings using the Key Bindings option screen. This displays a list of all<br />

<strong>SlickEdit</strong>® commands, including macros that you have recorded, their associated key sequences, and the<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!