Skip to content

Commit 3327cd8

Browse files
committed
ctrl + arrow key issue fixed
1 parent c1d05a3 commit 3327cd8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

airootfs/etc/skel/.zshrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
1818
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
1919
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
2020

21+
22+
2123
#Display ISO version and distribution information in short
2224
alias version="sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release"
2325

@@ -33,3 +35,8 @@ alias clr-cache="sudo pacman -Scc"
3335
alias unlock="sudo rm /var/lib/pacman/db.lck"
3436
alias remove="sudo pacman -R"
3537
alias autoremove="sudo pacman -Rns"
38+
39+
# keyboard ctrl+arrow key issue solved
40+
bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
41+
bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
42+

airootfs/root/.zshrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ alias clr-cache="sudo pacman -Scc"
3535
alias unlock="sudo rm /var/lib/pacman/db.lck"
3636
alias remove="sudo pacman -R"
3737
alias autoremove="sudo pacman -Rns"
38+
39+
# keyboard ctrl+arrow key issue solved
40+
bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
41+
bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
42+

0 commit comments

Comments
 (0)