This commit is contained in:
Laurent Le Houerou 2024-11-25 14:32:20 +04:00
parent ccfc2d4371
commit dcbd94125d
2 changed files with 13 additions and 0 deletions

View File

@ -6,3 +6,5 @@ italic_font auto
bold_italic_font auto
font_size 12.0
confirm_os_window_close -1

View File

@ -24,6 +24,17 @@ eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/config.json)"
# Keybindings
bindkey -e
bindkey '^p' history-search-backward
bindkey '^n' history-search-forward
bindkey '^[w' kill-region
# Bind Home key to beginning-of-line
bindkey '^[[H' beginning-of-line
bindkey '^[[1~' beginning-of-line
# Bind End key to end-of-line
bindkey '^[[F' end-of-line
bindkey '^[[4~' end-of-line
# Bind Delete key to delete-char
bindkey '^[[3~' delete-char
# History
HISTSIZE=5000