From c5e33a5d9fdb322805f55a30dfff799a2554c9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Uruba?= Date: Wed, 18 Nov 2020 21:33:58 +0100 Subject: [PATCH] add keybindings --- zsh/.zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 6f967d9..8c3b731 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -15,7 +15,12 @@ compinit autoload -U colors colors -PROMPT="%{$fg_bold[cyan]%}%* %{$fg_bold[green]%}%d -%{$fg_bold[yellow]%}%% %{$reset_color%}" +#PROMPT="%{$fg_bold[cyan]%}%* %{$fg_bold[green]%}%d +#%{$fg_bold[yellow]%}%% %{$reset_color%}" source $HOME/.config/zsh/key-bindings.zsh + +bindkey "^[[H" beginning-of-line +bindkey "^[[4~" end-of-line +bindkey "^[[4h" overwrite-mode +bindkey "^[[P" delete-char