Enum Actions

java.lang.Object
java.lang.Enum<Actions>
org.aesh.readline.action.mappings.Actions
All Implemented Interfaces:
Serializable, Comparable<Actions>, java.lang.constant.Constable

public enum Actions extends Enum<Actions>
Enumeration of all available readline action names.
Author:
Ståle W. Pedersen
  • Enum Constant Details

    • ABORT

      public static final Actions ABORT
      Abort the current operation.
    • ACCEPT_LINE

      public static final Actions ACCEPT_LINE
      Accept and execute the current line.
    • BACKWARD_CHAR

      public static final Actions BACKWARD_CHAR
      Move cursor backward one character.
    • BACKWARD_DELETE_CHAR

      public static final Actions BACKWARD_DELETE_CHAR
      Delete the character before the cursor.
    • BACKWARD_KILL_LINE

      public static final Actions BACKWARD_KILL_LINE
      Kill text from cursor to the beginning of the line.
    • BACKWARD_KILL_WORD

      public static final Actions BACKWARD_KILL_WORD
      Kill the word before the cursor.
    • BACKWARD_WORD

      public static final Actions BACKWARD_WORD
      Move cursor backward one word.
    • BEGINNING_OF_HISTORY

      public static final Actions BEGINNING_OF_HISTORY
      Move to the first entry in history.
    • BEGINNING_OF_LINE

      public static final Actions BEGINNING_OF_LINE
      Move cursor to the beginning of the line.
    • CALL_LAST_KBD_MACRO

      public static final Actions CALL_LAST_KBD_MACRO
      Execute the last keyboard macro.
    • CAPITALIZE_WORD

      public static final Actions CAPITALIZE_WORD
      Capitalize the current or following word.
    • CHARACTER_SEARCH_BACKWARD

      public static final Actions CHARACTER_SEARCH_BACKWARD
      Search backward for a character.
    • CLEAR_SCREEN

      public static final Actions CLEAR_SCREEN
      Clear the terminal screen.
    • COMPLETE

      public static final Actions COMPLETE
      Trigger command completion.
    • COPY_BACKWARD_WORD

      public static final Actions COPY_BACKWARD_WORD
      Copy the word before the cursor to the kill ring.
    • COPY_FORWARD_WORD

      public static final Actions COPY_FORWARD_WORD
      Copy the word after the cursor to the kill ring.
    • COPY_LINE

      public static final Actions COPY_LINE
      Copy the entire line to the kill ring.
    • DELETE_CHAR

      public static final Actions DELETE_CHAR
      Delete the character at the cursor.
    • DELETE_CHAR_OR_LIST

      public static final Actions DELETE_CHAR_OR_LIST
      Delete character at cursor or list completions if line is empty.
    • DELETE_HORIZONTAL_SPACE

      public static final Actions DELETE_HORIZONTAL_SPACE
      Delete all horizontal whitespace around the cursor.
    • DIGIT_ARGUMENT

      public static final Actions DIGIT_ARGUMENT
      Start or accumulate a numeric argument for subsequent commands.
    • DO_UPPERCASE_VERSION

      public static final Actions DO_UPPERCASE_VERSION
      Execute the uppercase equivalent of a meta command.
    • DOWNCASE_WORD

      public static final Actions DOWNCASE_WORD
      Convert the current or following word to lowercase.
    • DUMP_FUNCTIONS

      public static final Actions DUMP_FUNCTIONS
      Dump all readline functions to output.
    • DUMP_MACROS

      public static final Actions DUMP_MACROS
      Dump all readline macros to output.
    • DUMP_VARIABLES

      public static final Actions DUMP_VARIABLES
      Dump all readline variables to output.
    • EMACS_EDITING_MODE

      public static final Actions EMACS_EDITING_MODE
      Switch to emacs editing mode.
    • END_KBD_MACRO

      public static final Actions END_KBD_MACRO
      Stop recording a keyboard macro.
    • END_OF_HISTORY

      public static final Actions END_OF_HISTORY
      Move to the last entry in history.
    • END_OF_LINE

      public static final Actions END_OF_LINE
      Move cursor to the end of the line.
    • EXCHANGE_POINT_AND_MARK

      public static final Actions EXCHANGE_POINT_AND_MARK
      Swap the cursor position with the mark.
    • FORWARD_BACKWARD_DELETE_CHAR

      public static final Actions FORWARD_BACKWARD_DELETE_CHAR
      Delete character at cursor or before cursor depending on position.
    • FORWARD_CHAR

      public static final Actions FORWARD_CHAR
      Move cursor forward one character.
    • FORWARD_SEARCH_HISTORY

      public static final Actions FORWARD_SEARCH_HISTORY
      Search forward through history.
    • FORWARD_WORD

      public static final Actions FORWARD_WORD
      Move cursor forward one word.
    • FORWARD_SEARCH_BACKWARD

      public static final Actions FORWARD_SEARCH_BACKWARD
      Search backward starting from forward position in history.
    • HISTORY_SEARCH_FORWARD

      public static final Actions HISTORY_SEARCH_FORWARD
      Search forward through history for lines starting with current input.
    • INSERT_COMMENT

      public static final Actions INSERT_COMMENT
      Insert a comment character at the beginning of the line.
    • INSERT_COMPLETIONS

      public static final Actions INSERT_COMPLETIONS
      Insert all completions of the text before cursor.
    • KILL_LINE

      public static final Actions KILL_LINE
      Kill text from cursor to the end of the line.
    • KILL_REGION

      public static final Actions KILL_REGION
      Kill the text between cursor and mark.
    • KILL_WHOLE_LINE

      public static final Actions KILL_WHOLE_LINE
      Kill the entire current line.
    • KILL_WORD

      public static final Actions KILL_WORD
      Kill the word after the cursor.
    • NEXT_HISTORY

      public static final Actions NEXT_HISTORY
      Move to the next entry in history.
    • NON_INCREMENTAL_FORWARD_SEARCH_HISTORY

      public static final Actions NON_INCREMENTAL_FORWARD_SEARCH_HISTORY
      Search forward through history non-incrementally.
    • NON_INCREMENTAL_REVERSE_SEARCH_HISTORY

      public static final Actions NON_INCREMENTAL_REVERSE_SEARCH_HISTORY
      Search backward through history non-incrementally.
    • OVERWRITE_MODE

      public static final Actions OVERWRITE_MODE
      Toggle overwrite mode for character insertion.
    • POSSIBLE_COMPLETIONS

      public static final Actions POSSIBLE_COMPLETIONS
      List possible completions for the current input.
    • PREFIX_META

      public static final Actions PREFIX_META
      Make the next character typed be meta-prefixed.
    • PREVIOUS_HISTORY

      public static final Actions PREVIOUS_HISTORY
      Move to the previous entry in history.
    • QUOTED_INSERT

      public static final Actions QUOTED_INSERT
      Insert the next character literally without interpretation.
    • RE_READ_INIT_FILE

      public static final Actions RE_READ_INIT_FILE
      Re-read the readline initialization file.
    • REDRAW_CURRENT_LINE

      public static final Actions REDRAW_CURRENT_LINE
      Redraw the current line.
    • REVERSE_SEARCH_HISTORY

      public static final Actions REVERSE_SEARCH_HISTORY
      Search backward through history incrementally.
    • REVERT_LINE

      public static final Actions REVERT_LINE
      Revert the line to its original state from history.
    • SELF_INSERT

      public static final Actions SELF_INSERT
      Insert the typed character at the cursor position.
    • SET_MARK

      public static final Actions SET_MARK
      Set the mark at the current cursor position.
    • SKIP_CSI_SEQUENCE

      public static final Actions SKIP_CSI_SEQUENCE
      Skip a CSI escape sequence.
    • START_KBD_MACRO

      public static final Actions START_KBD_MACRO
      Start recording a keyboard macro.
    • TAB_INSERT

      public static final Actions TAB_INSERT
      Insert a tab character.
    • TILDE_EXPAND

      public static final Actions TILDE_EXPAND
      Expand tilde to home directory path.
    • TRANSPOSE_CHARS

      public static final Actions TRANSPOSE_CHARS
      Swap the character at cursor with the previous character.
    • TRANSPOSE_WORDS

      public static final Actions TRANSPOSE_WORDS
      Swap the word at cursor with the previous word.
    • UNDO

      public static final Actions UNDO
      Undo the last editing change.
    • UNIVERSAL_ARGUMENT

      public static final Actions UNIVERSAL_ARGUMENT
      Multiply the argument count by four.
    • UNIX_FILENAME_RUBOUT

      public static final Actions UNIX_FILENAME_RUBOUT
      Kill backward to the previous slash or whitespace.
    • UPCASE_CHAR

      public static final Actions UPCASE_CHAR
      Convert the character at cursor to uppercase.
    • UPCASE_WORD

      public static final Actions UPCASE_WORD
      Convert the current or following word to uppercase.
    • VI_EDITING_MODE

      public static final Actions VI_EDITING_MODE
      Switch to vi editing mode.
    • YANK

      public static final Actions YANK
      Yank (paste) the most recently killed text.
    • YANK_LAST_ARG

      public static final Actions YANK_LAST_ARG
      Yank the last argument from the previous command.
    • YANK_NTH_ARG

      public static final Actions YANK_NTH_ARG
      Yank the nth argument from the previous command.
    • YANK_POP

      public static final Actions YANK_POP
      Cycle through the kill ring after a yank.
    • YANK_AFTER

      public static final Actions YANK_AFTER
      Yank text after the cursor position (vi mode).
  • Method Details

    • values

      public static Actions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Actions valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null