Cursor movement shorcuts are disabled in distrobox environment #1562
-
|
Hi, My host system is Ubuntu in WSL 2. I use the Terminal app on Windows. When I enter Ubuntu directly, shortcuts like I am using zsh in all environments. Is it a terminal issue or a shell issue? Or something else? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I was having the same issue and what I found out is for some reason the default binds are different for distrobox. what you can do to fix this is run show the different binding groups and then you can look at what binds are in that group with then in my .zshrc and I believe you could add it to your .bashrc as well I just added them as follows: bindkey "^A" beginning-of-line
bindkey "^B" backward-char
bindkey "^D" delete-char-or-list
bindkey "^E" end-of-line
bindkey "^F" forward-char
...and that fixed the issue for me. hope this helps. |
Beta Was this translation helpful? Give feedback.
I was having the same issue and what I found out is for some reason the default binds are different for distrobox. what you can do to fix this is run
bindkey -lwhich will should give you and output like:show the different binding groups and then you can look at what binds are in that group with
bindkey -M mainwhich for me these are the default for my system: