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
|
HISTSIZE=1000
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
|
||||||
# End of lines configured by zsh-newuser-install
|
# End of lines configured by zsh-newuser-install
|
||||||
# The following lines were added by compinstall
|
# The following lines were added by compinstall
|
||||||
zstyle :compinstall filename '/home/ward/.zshrc'
|
zstyle :compinstall filename '/home/ward/.zshrc'
|
||||||
@@ -18,6 +19,11 @@ autoload -Uz compinit
|
|||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
# 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
|
# personal aliases
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias la='ls -a'
|
alias la='ls -a'
|
||||||
|
|||||||
Reference in New Issue
Block a user