feat: Home- End- Delete- key fix for zsh
This commit is contained in:
6
.zshrc
6
.zshrc
@@ -10,6 +10,7 @@ HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
bindkey -e
|
||||
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/ward/.zshrc'
|
||||
@@ -18,6 +19,11 @@ autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# Fixing some keys inside zsh
|
||||
bindkey "^[[H" beginning-of-line #Home-key
|
||||
bindkey "^[[F" end-of-line #End-key
|
||||
bindkey "^[[3~" delete-char #Delete-key
|
||||
|
||||
# personal aliases
|
||||
alias ls='ls --color=auto'
|
||||
alias la='ls -a'
|
||||
|
||||
Reference in New Issue
Block a user