Fix previous fix!
authorMikael Berthe <mikael@lilotux.net>
Sun, 02 May 2021 13:15:29 +0200
changeset 51 d6bcd9c33307
parent 50 87b60a3c90ae
child 52 1f3d221e1770
Fix previous fix! It's an O, not a 0... "^[OH" & "^[OF"
zshrc.d/10-default-bindings.zrc
zshrc.d/60-vi-showmode.zrc
--- a/zshrc.d/10-default-bindings.zrc	Sun May 02 13:07:41 2021 +0200
+++ b/zshrc.d/10-default-bindings.zrc	Sun May 02 13:15:29 2021 +0200
@@ -34,8 +34,8 @@
   bindkey '^[[H'  beginning-of-line       # Home
   bindkey '^[[F'  end-of-line             # End
 
-  bindkey '^[0H'  beginning-of-line       # Home
-  bindkey '^[0F'  end-of-line             # End
+  bindkey '^[OH'  beginning-of-line       # Home
+  bindkey '^[OF'  end-of-line             # End
 
   # Sur un xterm, on differencie backspace et delete (?).
   bindkey '^H'  backward-delete-char    # Backspace
--- a/zshrc.d/60-vi-showmode.zrc	Sun May 02 13:07:41 2021 +0200
+++ b/zshrc.d/60-vi-showmode.zrc	Sun May 02 13:15:29 2021 +0200
@@ -250,10 +250,10 @@
 
 bindkey -M viins '^[[H'  beginning-of-line
 bindkey -M vicmd '^[[H'  beginning-of-line
-bindkey -M viins '^[0H'  beginning-of-line
+bindkey -M viins '^[OH'  beginning-of-line
 bindkey -M viins '^[[F'  end-of-line
 bindkey -M vicmd '^[[F'  end-of-line
-bindkey -M vicmd '^[0F'  end-of-line
+bindkey -M vicmd '^[OF'  end-of-line
 
 bindkey -M viins '^[[3~' delete-char
 bindkey -M vicmd '^[[3~' delete-char