feat (zshrc): include what has been written up to the cursor position while 'browsing' through history
This commit is contained in:
parent
43f7302dc6
commit
7367aefa94
6
zshrc
6
zshrc
@ -7,6 +7,12 @@ fi
|
|||||||
# sequences (default is 0.4 sec.)
|
# sequences (default is 0.4 sec.)
|
||||||
KEYTIMEOUT=1
|
KEYTIMEOUT=1
|
||||||
|
|
||||||
|
# Search backward in the history for a line beginning with the current line up to the cursor
|
||||||
|
bindkey '^P' history-beginning-search-backward
|
||||||
|
|
||||||
|
# Search forward in the history for a line beginning with the current line up to the cursor
|
||||||
|
bindkey '^N' history-beginning-search-forward
|
||||||
|
|
||||||
# List of non-alphanumeric characters considered part of a word
|
# List of non-alphanumeric characters considered part of a word
|
||||||
export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
|
export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user