First, you need to configure the key meta:
- secureCRT
- mac os terminate
1. Move the cursor shortcut
ctrl+f move forward one character
ctrl+b move backward one character
alt+f move forward one word
alt+b move backward one word
ctrl+a move to the beginning of the current line
ctrl+e move Go to the end of the current line
ctrl+l to clear the screen and start a new line at the top of the screen
2. Edit the command line shortcut
ctrl+d to delete the current character
ctrl+t to swap the position of the current character and the previous character
alt+t to swap the current Position of word and previous word
alt+u Change current word to uppercase
alt+l Change current word to lowercase
alt+c Change current word to capitalized word
ctrl+v Add a special character, for example, to add A tab, press ctrl+v+tab
3. Cut and paste shortcut keys
ctrl+k Cut text to the end of the line
ctrl+u Cut text to the beginning of the line
ctrl+w Cut the word before the cursor
alt+d Cut the word after the cursor
ctrl+y paste the most recently cut text
alt+y go back to the previously cut text and paste it
ctrl+c delete the entire line