about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-07 13:13:27 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-07 13:13:27 +0000
commitb042b51a54f32bcc604dd2c3cfbda6dc651b3d64 (patch)
tree3e8e1ba9b8b5d0e1ed351885d68db1909cd19ce1
parent9e665b891abc0024816a2e8caa9e3ace53c0d2d3 (diff)
downloaddotfiles-b042b51a54f32bcc604dd2c3cfbda6dc651b3d64.tar.gz
Really make end key work
-rw-r--r--nix-conf/home/includes/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 03020a3..a70d7a9 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -97,7 +97,7 @@
 
       # make home and end work
       [[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line
-      [[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line
+      [[ -z "$terminfo[kend]" ]] || bindkey -M emacs "$terminfo[kend]" end-of-line
 
       # disable sort when completing `git checkout`
       zstyle ''\':completion:*:git-checkout:*''\' sort false