* ^[0d backward-word works on arch, not on ubuntu
@ 2024-08-25 17:32 mailinglists15235
0 siblings, 0 replies; 3+ messages in thread
From: mailinglists15235 @ 2024-08-25 17:32 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
hi, I have an Arch and an Ubuntu system where I just copied the .{oh-my-}zsh* stuff to. Both cat ctrl+left as ^[0d but only on arch the ctrl+left results in backward-word - what is the supposed way to get this under ubuntu - what is the problem? (obviously i could just bindkey it, but it seems that there is a more systematic way)
[-- Attachment #2: Type: text/html, Size: 667 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ^[0d backward-word works on arch, not on ubuntu
2024-08-26 5:55 mailinglists15235
@ 2024-08-26 8:06 ` Roman Perepelitsa
0 siblings, 0 replies; 3+ messages in thread
From: Roman Perepelitsa @ 2024-08-26 8:06 UTC (permalink / raw)
To: mailinglists15235; +Cc: zsh-users
On Mon, Aug 26, 2024 at 7:56 AM mailinglists15235
<mailinglists15235@proton.me> wrote:
>
> hi,
> I have an Arch and an Ubuntu system where I just copied the
> ~/.{oh-my-,}zsh* stuff to.
> Both cat ctrl+left as ^[0d but only on arch the ctrl+left results
> in backward-word - what is the supposed way to get this under
> ubuntu - what is the problem? (obviously i could just bindkey it,
> but it seems that there is a more systematic way)
Bindings are indeed created with bindkey. By default, nothing is bound
to "^[0d". You can check your current bindings by typing "bindkey".
Use Ctrl-V instead of `cat` to figure out what Ctrl-Left sends to zle.
The latter is unreliable when using oh-my-zsh due to this snippet:
https://github.com/ohmyzsh/ohmyzsh/blob/f622e6a6367b5142c868f554fda968982226e5df/lib/key-bindings.zsh#L7-L16
Roman
^ permalink raw reply [flat|nested] 3+ messages in thread
* ^[0d backward-word works on arch, not on ubuntu
@ 2024-08-26 5:55 mailinglists15235
2024-08-26 8:06 ` Roman Perepelitsa
0 siblings, 1 reply; 3+ messages in thread
From: mailinglists15235 @ 2024-08-26 5:55 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
hi,
I have an Arch and an Ubuntu system where I just copied the ~/.{oh-my-,}zsh* stuff to.
Both cat ctrl+left as ^[0d but only on arch the ctrl+left results in backward-word - what is the supposed way to get this under ubuntu - what is the problem? (obviously i could just bindkey it, but it seems that there is a more systematic way)
[-- Attachment #2: Type: text/html, Size: 793 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-26 8:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-25 17:32 ^[0d backward-word works on arch, not on ubuntu mailinglists15235
2024-08-26 5:55 mailinglists15235
2024-08-26 8:06 ` Roman Perepelitsa
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).