Fix HOME and END key bindings in zle
This commit is contained in:
parent
4b2b0d38c7
commit
0da54801e4
4
zshrc
4
zshrc
@ -129,6 +129,10 @@ autoload -U edit-command-line
|
|||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey -M vicmd '^V' edit-command-line
|
bindkey -M vicmd '^V' edit-command-line
|
||||||
|
|
||||||
|
# Enable HOME and END keys
|
||||||
|
bindkey $key[Home] beginning-of-line
|
||||||
|
bindkey $key[End] end-of-line
|
||||||
|
|
||||||
# Get the shells parent process name.
|
# Get the shells parent process name.
|
||||||
ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) }
|
ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user