AMOS:Keys in editor

From Amiga Coding
Jump to: navigation, search

Contents

Cursor keys

Here is a list of all the AMOS Professional control keys available when in the Main Editor and their usage. If you've changed the key combinations that select your menu items, this list will be wrong.


[Left] Move cursor one space left.
[Right] Move cursor one space right. [Up] Move cursor up to next available line. [Down] Move cursor down to next available line.


[Shift]+[Left] Move cursor to previous word.
[Shift]+[Right] Move cursor to next word. [Shift]+[Up] Move cursor to top line of current page. [Shift]+[Down] Move cursor to bottom line of current page.


[Ctr]+[Up] Display previous page.
[Ctr]+[Down] Display next page.


[Shift]+[Ctr]+[Up] Jump to start of program.
[Shift]+[Ctr]+[Down] Jump to end of program.


Editing keys

  • [Backspace] Delete character to the left of cursor.
  • [Del] Delete character at cursor current location.
  • [Return] Enter current line/Split existing line.
  • F10 Insert a line at current position.
  • [Control]+[Q] Clear current line.
  • [Control]+[Y] Clear line and move up text to fill gap.
  • [Control]+[Del] Delete to end of line.
  • [Control]+[Backspace] Delete to start of line.
  • [Shift]+[Backspace] Delete word to left.
  • [Shift]+[Del] Delete word to right.


Cut and paste

  • [Control]+[B] Activate/Deactivate block mode.
  • [Control]+[A] Select entire program.


  • [Control]+[S] Store block in memory and leave block on screen.
  • [Control]+[C] Cut block. Erase from screen and load into memory.
  • [Control]+[P] Paste block at current cursor position.
  • [Control]+[F] Deselect block, remove highlighting.


  • [Control]+[Shift]+[P] Print block
  • [Control]+[Shift]+[S] Save block.
  • [Control]+[Shift]+[A] Save block in Ascii format.


Function keys

  • F1 Run program
  • F2 Test program
  • F3 Indent program
  • F4 Enter Monitor
  • F5 Help
  • F6 Previous window
  • F7 Next Window
  • F8 Toggle Insert mode
  • F9 Open/Close Procedure
  • F10 Insert line


These keys are also available from the icons at the top of the Editor screen


Marker keys

[Shift]+[Ctrl]+[number] Set a marker at current cursor position, with number between 0 and 9 from numeric keypad.


[Ctrl]+[number] Jump to previously set marker numbered 0 to 9 from numeric keypad.


Search and replace

  • [Amiga]+[F] Find first occurrence of selected text from cursor.
  • [Amiga]+[N] Find next occurrence of selected text.
  • [Amiga]+[P] Find previous ocurrence of selected text.


  • [Amiga]+[Shift]+[F] Replace text with new text and jump to next occurrence.
  • [Amiga]+[Shift]+[N] Find next occurrance of text and replace it.
  • [Amiga]+[Shift]+[P] Replace last occurrence of your text.


  • [Alt]+[Up] Search back through program to last label or procedure definition.
  • [Alt]+[Down] Search forward in program to next label or procedure definition.


Tabulation keys

[Ctrl]+[Tab arrows] Set Tab stop.
[Tab arrows] Move whole line at current cursor position to next Tab.
[Shift]+[Tab arrows] Move whole line at current cursor position to last Tab.


Program control keys

[Amiga]+[Shift]+[S] Save program under new name.
[Amiga]+[S] Save program under existing name. [Amiga]+[L] Load program


[Esc] Go to direct Mode.


Help keys

  • [Help] Open Help Window.
  • F5 Open Help Window.


  • Esc Leave Help Window.
  • [Up Arrow] Scroll Window up.
  • [Down Arrow] Scroll Window down.


Direct mode keys

Here is a list of the editing keys and their effects when in Direct Mode:


  • [Backspace] Delete character to the left of cursor.
  • [Del] Delete character at cursor current location.
  • [Return] Execute current line of commands.
  • [Left] Move cursor one space left.
  • [Right] Move cursor one space right.
  • [Shift]+[Left] Move cursor to previous word.
  • [Shift]+[Right] Move cursor to next word.
  • [Up] Moves the history buffer to the previous line
  • [Down] Scrolls the next line from the history buffer
  • [Esc] Leave Direct Mode. Go to main editing window.
  • [Control]+[Up] Moves the entire direct mode window up.
  • [Control]+[Down] Moves the direct mode window down.
  • [Shift]+[Up] Reduces the size of the direct mode window.
  • [Shift]+[Down] Expands the direct mode window


Note: Run does not work from direct mode.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox