Sample Header Ad - 728x90

Why zsh doesnt have shift+arrow (left/rigth/up/down) shortcut on VM ARM machines?

0 votes
0 answers
418 views
I'm a new user of ARM arch (MacOS main OS) laptop, and I don't know why the VM I installed doesn't have this shortcut. Anyone knows how to add this type of shortcut? I tried a lot of different stuff without success. Thanks! * bind Shift + Left Arrow to select one word backwards
bindkey "^[[1;2D" backward-word-end;
* bind Shift + Right Arrow to select one word forwards
bindkey "^[[1;2C" forward-word-end;
* bind Shift + Up Arrow to select to the beginning of the line
bindkey "^[[1;2A" beginning-of-line-text;
* bind Shift + Down Arrow to select to the end of the line
bindkey "^[[1;2B" end-of-line;
These are the commands I have tried to add to .zshrc and none of them worked. Main operating system is MacOS and I am using Parallels with Kali Linux 2022.2
Asked by Helix (1 rep)
Feb 5, 2023, 10:21 AM
Last activity: Feb 6, 2023, 11:54 AM