[Mac] Terminal Interactive input line editing

Source: Internet
Author: User
Tags base64

[Mac] Terminal interactive input line editing review

The Python Editor supports input line editing and historical backtracking with the GNU Readline Library, which supports Emacs-style and VI-style editing.

Line edit Emacs Style shortcut key edit
    • [C-A (Control + A)Move the cursor to the beginning of the line
    • C-EMove to end of line
    • C-BMove one character to the left
    • C-FMove one to the right
    • 退格Delete a character string to the left
    • C-DRemove one character to the right
    • C-KRemove all characters to the right of the cursor until the end of the line
    • C-YPastes the last deleted string to the cursor position
    • C-_Undo the last modification, which can be duplicated by the accumulation effect.

[Mac] Terminal Interactive input line editing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.