• Bash快捷键


    Table2-6.emacs mode miscellaneous commands

    Command

    Description

    CTRL-J

    Same as RETURN

    CTRL-L

    Clears the screen, placing the current line at the top of the screen

    CTRL-M

    Same as RETURN

    CTRL-O

    Same as RETURN, then display next line in command history

    CTRL-T

    Transpose two characters on either side of point and move point forward by one

    CTRL-U

    Kills the line from the beginning to point

    CTRL-V

    Quoted insert

    CTRL-[

    Same as ESC (most keyboards)

    ESC-C

    Capitalize word after point

    ESC-U

    Change word after point to all capital letters

    ESC-L

    Change word after point to all lowercase letters

    ESC-.

    Insert last word in previous command line after point

    ESC-_

    Same as ESC-.

    Table2-5.Completion command

    Command

    Description

    TAB

    Attempt to perform general completion of the text

    ESC-?

    List the possible completions

    ESC-/

    Attempt filename completion

    CTRL-X /

    List the possible filename completions

    ESC-~

    Attempt username completion

    CTRL-X ~

    List the possible username completions

    ESC-$

    Attempt variable completion

    CTRL-X $

    List the possible variable completions

    ESC-@

    Attempt hostname completion

    CTRL-X @

    List the possible hostname completions

    ESC-!

    Attempt command completion

    CTRL-X !

    List the possible command completions

    ESC-TAB

    Attempt completion from previous commands in the history list

    Table 2-4. emacs-mode commands for moving through the history list

    Command

    Description

    CTRL-P

    Move to previous line

    CTRL-N

    Move to next line

    CTRL-R

    Search backward

    ESC-<

    Move to first line of history list

    ESC->

    Move to last line of history list

    Table 2-3. emacs-mode line commands

    Command

    Description

    CTRL-A

    Move to beginning of line

    CTRL-E

    Move to end of line

    CTRL-K

    Kill forward to end of line

    Table 2-1.Basic emacs-mode commands

    Command

    Description

    CTRL-B

    Move backward one character (without deleting)

    CTRL-F

    Move forward one character

    DEL

    Delete one character backward

    CTRL-D

    Delete one character forward

    Table 2-2. emacs-mode word commands

    Command

    Description

    ESC-B

    Move one word backward

    ESC-F

    Move one word forward

    ESC-DEL

    Kill one word backward

    ESC-CTRL-H

    Kill one word backward

    ESC-D

    Kill one word forward

    CTRL-Y

    Retrieve ("yank") last item killed

  • 相关阅读:
    Linux 系统使用WordPress开启“固定链接设置”之后部分页面打不开(404)的解决办法
    WordPress安全配置
    去掉Windows2003的自动锁定
    用IP访问wordpress的css和js为何不能加载
    元素伸缩
    Cookie之获设删
    输入0开头的数字,自动纠正
    PHP入门(一)
    node.js(一)
    vue-demo-tab切换
  • 原文地址:https://www.cnblogs.com/friedwm/p/2132744.html
Copyright © 2020-2023  润新知