\chapter{Keyboard Shortcuts}
\label{sec:keyboard-shortcuts}
\vspace*{-5mm}
Shortcuts listed here with the \texttt{Ctrl} modifier key should be
used on computers running MacOS with the \texttt{Cmd} modifier key
instead .

\subsection*{List by Category}

\textbf{(a)} Apple Specific, \textbf{(b)} build-in, \textbf{(c)} customizable,
\textbf{(r)} reserved, \textbf{(s)} switching (simulation/editing), \textbf{(p)}
provided by (optional) plugin
\begin{longtable}{|l|l|l|l|l|}
\hline

Modifier           & Key & Function                  & \%   & Plugin         \\ \hline
\multicolumn{5}{|l|}{\textbf{File}}                                         \\ \hline
Ctrl               & N   & New RNW                   & b    &                \\ \hline
Ctrl-Shift         & N   & Open Navigator            & p    & Navigator      \\ \hline
Ctrl               & O   & Open Drawing              & b    &                \\ \hline
Ctrl               & S   & Save Drawing              & b    &                \\ \hline
Ctrl-Shift         & S   & Save Drawing As...        & b    &                \\ \hline
Ctrl               & W   & Close Window              & b    &                \\ \hline
Ctrl-Shift         & W   & Close All Windows         & b    &                \\ \hline
% Ctrl-Shift         & E   & EPS Export ++             & p    & Extras         \\ \hline
Ctrl               & E   & EPS Export                & p    & Export         \\ \hline
Ctrl-Shift         & P   & PDF Export                & p    & Export         \\ \hline
Ctrl               & 9   & PNG Export                & p    & Export         \\ \hline
Cmd                & Q   & Quit Program              & ra   &                \\ \hline
\multicolumn{5}{|l|}{\textbf{Edit}}                                         \\ \hline
Ctrl               & Z   & Undo                      & b    &                \\ \hline
Ctrl               & Y   & Redo                      & b    &                \\ \hline
Ctrl               & X   & Cut                       & b    &                \\ \hline
Ctrl               & C   & Copy                      & b    &                \\ \hline
Ctrl               & V   & Paste                     & b    &                \\ \hline
Ctrl               & D   & Duplicate                 & b    &                \\ \hline
Ctrl               & F   & Search                    & b    &                \\ \hline
Ctrl               & G   & Search \& Replace         & b    &                \\ \hline
Ctrl               & A   & Select All                & b    &                \\ \hline
Ctrl         & 1   & group Net Component       & p  & Net Components \\ \hline
Ctrl         & 3   & ungroup Net Component     & p  & Net Components \\ \hline
Ctrl               & Enter & Finish Editing          & b    &                \\ \hline
%\multicolumn{5}{|l|}{\textbf{Layout} (see below for customization options)} \\ \hline
Ctrl               & B   & Send to Back              & b    &                \\ \hline
Ctrl-Shift         & B   & Bring to Front            & b    &                \\ \hline
Ctrl               & $\backslash$   & Align Center   & c    &                \\ \hline
Ctrl-Shift         & -   & Align Middles             & c    &                \\ \hline
Ctrl               & =   & Spread Centers            & c    &                \\ \hline
Ctrl               & ;   & Spread Middles            & c    &                \\ \hline
Ctrl               & /   & Spread Diagonal           & b    &                \\ \hline
\multicolumn{5}{|l|}{\textbf{Net}}                                    \\ \hline
Ctrl-Option  & B   & Set Breakpoint            & bs   &                \\ \hline
Ctrl-Option  & C   & Clear Breakpoint          & bs   &                \\ \hline
Ctrl-Option  & S   & Syntax Check              & b    &                \\ \hline
Ctrl-Option  & L   & Layout Check              & b    &                \\ \hline
\multicolumn{5}{|l|}{\textbf{Simulation}}                             \\ \hline
Ctrl         & R   & Run Simulation            & b    &                \\ \hline
Ctrl         & I   & Simulation Step           & b    &                \\ \hline
Ctrl-Shift   & I   & Simulation Net Step       & b    &                \\ \hline
Ctrl         & H   & Halt Simulation           & b    &                \\ \hline
Cmd-Shift    & H   & Halt Simulation           & ba   &                \\ \hline
Ctrl         & T   & Terminate Simulation      & b    &                \\ \hline
Ctrl         & L   & Show Simulation Trace     & p    & Logging        \\ \hline
Ctrl-Option  & B   & Set Breakpoint            & bs   &                \\ \hline
Ctrl-Option  & C   & Clear Breakpoint          & bs   &                \\ \hline
% \multicolumn{5}{|l|}{\textbf{Window}}                                 \\ \hline
% Ctrl         & M   & Bring Menu to Front       & b    &                \\ \hline
\multicolumn{5}{|l|}{\textbf{Without Menu Entry}}                                 \\ \hline
Ctrl         & + or mousewheel up   & Zoom in            & b    &                \\ \hline
Ctrl         & - or mousewheel down & Zoom out           & b    &                \\ \hline
Ctrl         & 0                    & Reset Zoom Factor  & b    &                \\ \hline


% \multicolumn{5}{|l|}{\textbf{Plugins}}                                \\ \hline
% Ctrl-Shift   & K   & Start CAPA                & p    & Platform       \\ \hline
% \multicolumn{5}{|l|}{\textbf{Tools}}                                  \\ \hline
% Ctrl-Shift   & M   & Open MulanViewer          & p    & Mulan Viewer   \\ \hline
% Ctrl         & 1   & group Net Component       & p    & Net Components \\ \hline
% Ctrl         & 3   & ungroup Net Component     & p    & Net Components \\ \hline
% Ctrl         & 6   & FA Drawing Tool           & p    & FA             \\ \hline
% Ctrl         & 8   & Lola GUI                  & p    & Lola           \\ \hline
% Ctrl-Shift   & X   & Diagram tool              & p    & Diagram        \\ \hline
% Ctrl-Shift   & G   & Generate Peers (Diagram)  & p    & Diagram        \\ \hline
% Ctrl-Shift   & -   & Toggle Hidable   (Diagram)& p    & Diagram        \\ \hline
% Ctrl-Shift   & /   & Hide Hidable   (Diagram)  & p    & Diagram        \\ \hline
% Ctrl-Shift   & =   & Show Hidable  (Diagram)   & p    & Diagram        \\ \hline
% Ctrl-Shift   & F   & Sniffer tool              & p    & Mulan Sniffer  \\ \hline

\end{longtable}

\subsection*{Alphabetical List}

\textbf{(a)} Apple Specific, \textbf{(b)} build-in, \textbf{(c)} customizable,
\textbf{(r)} reserved, \textbf{(s)} switching (simulation/editing), \textbf{(p)}
provided by (optional) plugin

\begin{longtable}{|l|l|l|l|l|}
\hline

Modifier     & Key & Function                  & \% & Plugin         \\ \hline 
Ctrl         & +   & Zoom in       & b    &                \\ \hline
Ctrl         & -   & Zoom out       & b    &                \\ \hline
Ctrl-Shift   & -   & Align Middles             & c  &                \\ \hline 
% Ctrl-Shift   & -   & Toggle Hidable   (Diagram)& p  & Diagram        \\ \hline 
% Ctrl-Shift   & /   & Hide Hidable   (Diagram)  & p  & Diagram        \\ \hline 
Ctrl         & /   & Spread Diagonal           & b  &                \\ \hline 
Ctrl         & 0   & Reset Zoom Factor      & b    &                \\ \hline
Ctrl         & 1   & group Net Component       & p  & Net Components \\ \hline 
Ctrl         & 3   & ungroup Net Component     & p  & Net Components \\ \hline 
Ctrl         & 9   & PNG Export                & p  & Export         \\ \hline 
% Ctrl         & 6   & FA Drawing Tool           & p  & FA             \\ \hline 
% Ctrl         & 8   & Lola GUI                  & p  & Lola           \\ \hline 
Ctrl         & ;   & Spread Middles            & c  &                \\ \hline 
% Ctrl-Shift   & =   & Show Hidable  (Diagram)   & p  & Diagram        \\ \hline 
Ctrl         & =   & Spread Centers            & c  &                \\ \hline 
Ctrl         & A   & Select All                & b  &                \\ \hline
Ctrl         & B   & Send to Back              & b  &                \\ \hline
Ctrl-Shift   & B   & Bring to Front            & b  &                \\ \hline
Ctrl-Option  & B   & Set Breakpoint            & bs &                \\ \hline
Ctrl-Option  & B   & Set Breakpoint            & bs &                \\ \hline
Ctrl-Option  & C   & Clear Breakpoint          & bs &                \\ \hline
Ctrl-Option  & C   & Clear Breakpoint          & bs &                \\ \hline
Ctrl         & C   & Copy                      & b  &                \\ \hline
Ctrl         & D   & Duplicate                 & b  &                \\ \hline
Ctrl         & E   & EPS Export                & p  & Export         \\ \hline
% Ctrl-Shift   & E   & EPS Export ++             & p  & Extras         \\ \hline
Ctrl         & F   & Search                    & b  &                \\ \hline
% Ctrl-Shift   & F   & Sniffer tool              & p  & Mulan Sniffer  \\ \hline
% Ctrl-Shift   & G   & Generate Peers (Diagram)  & p  & Diagram        \\ \hline
Ctrl         & G   & Search \& Replace         & b  &                \\ \hline
Ctrl         & H   & Halt Simulation           & b    &                \\ \hline
Cmd-Shift    & H   & Halt Simulation           & ba   &                \\ \hline
Ctrl         & I   & Simulation Step           & b  &                \\ \hline
Ctrl-Shift   & I   & Simulation Net Step       & b  &                \\ \hline
% Ctrl-Shift   & K   & Start CAPA                & p  & Platform       \\ \hline
Ctrl         & L   & Show Simulation Trace     & p  & Logging        \\ \hline
Ctrl-Option  & L   & Layout Check              & b  &                \\ \hline
% Ctrl         & M   & Bring Menu to Front       & b  &                \\ \hline
% Ctrl-Shift   & M   & Open MulanViewer          & p  & Mulan Viewer   \\ \hline
Ctrl         & N   & New RNW                   & b  &                \\ \hline
Ctrl-Shift   & N   & Open Navigator            & p  & Navigator      \\ \hline
Ctrl         & O   & Open Drawing              & b  &                \\ \hline
Ctrl-Shift   & P   & PDF Export                & p  & Export         \\ \hline
Cmd          & Q   & Quit Program              & ra &                \\ \hline
Ctrl         & R   & Run Simulation            & b  &                \\ \hline
Ctrl         & S   & Save Drawing              & b  &                \\ \hline
Ctrl-Shift   & S   & Save Drawing As...        & b  &                \\ \hline
Ctrl-Option  & S   & Syntax Check              & b  &                \\ \hline
Ctrl         & T   & Terminate Simulation      & b  &                \\ \hline
Ctrl         & V   & Paste                     & b  &                \\ \hline
Ctrl         & W   & Close Window              & b  &                \\ \hline
Ctrl-Shift       & W   & Close All Windows     & b  &                \\ \hline
Ctrl         & X   & Cut                       & b  &                \\ \hline
% Ctrl-Shift   & X   & Diagram tool              & p  & Diagram        \\ \hline
Ctrl         & Y   & Redo                      & b  &                \\ \hline
Ctrl         & Z   & Undo                      & b  &                \\ \hline
Ctrl         & $\backslash$   & Align Center   & c  &                \\ \hline
Ctrl               & Enter & Finish Editing          & b    &                \\ \hline


\end{longtable}

\subsection*{Toggle Key Mappings for Main Drawing Tools}

By setting the property \textsf{de.renew.keymap.use-mapping=true}
keystrokes can be used to select drawing tools (tool buttons).
%
This mechanism can easily be customized by setting options in the form
of \texttt{de.renew.keymap.XY} where \texttt{XY} is the name of the
tool; for example \texttt{de.renew.keymap.Transition\_Tool=t}.
%
Set these options in your configuration files in order to be activated
during GUI initialization.
%
Use the \emph{Shift} modifier key to select a tool permanently.
%
The following keys constitute a preset selection for the main Renew
drawing tools:

\medskip

% \begin{table}[h]
\begin{center}
\begin{tabular}[htp]{|l|l|}
   \hline
   . & Selection Tool     \\
   \hline
   t & Transition Tool\\
   \hline
   p & Place Tool\\
   \hline
   v & Virtual Place Tool\\
   \hline
   a & Arc Tool\\
   \hline
   x & Test Arc Tool\\
   \hline
   r & Reserve Arc Tool\\
   \hline
   f & Flexible Arc Tool\\
   \hline
   i & Inscription Tool\\
   \hline
   n & Name Tool\\
   \hline
   d & Declaration Tool\\
   \hline
\end{tabular}
\end{center}

% \caption{Preset tool selection key map.}
% \end{table}

% \subsection*{Configure Key Mappings for Figure Alignment}

% It is possible to configure the keyboard shortcuts for figure alignments
% (the actions from the Renew \textsf{Layout} menu) by means of
% properties as exemplified in the following:

% \begin{itemize}
% \item de.renew.hotkeymap.Align\_Centers=,
% \item de.renew.hotkeymap.Align\_Middles=-
% \item de.renew.hotkeymap.Spread\_Centers==
% \item de.renew.hotkeymap.Spread\_Middles=:
% \item de.renew.hotkeymap.Spread\_Diagonal=/
% \item de.renew.hotkeymap.Bring\_to\_Front=B
% \item de.renew.hotkeymap.Send\_to\_Back=b
% \end{itemize}

% Local Variables:
% mode: latex
% TeX-master:"renew.tex"
% End: