mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 04:51:31 +01:00
zsh: add editing mode setup check
This commit is contained in:
parent
85381436cf
commit
6fa513850c
|
@ -58,6 +58,10 @@ bindkey -a '^[[3~' delete-char
|
|||
export KEYTIMEOUT=50 # reduce the transition time between vim modes to 0.1s
|
||||
# bindkey -M vicmd 'V' edit-command-line # this remaps `vv` to `V` (but overrides `visual-mode`) # add this if the keytimeout is too slow
|
||||
|
||||
if ! grep -q "set editing-mode vi" $HOME/.inputrc &> /dev/null; then
|
||||
echo "set editing-mode vi" >> ~/.inputrc && echo "Warning: set up editing-mode ~/.inputrc"
|
||||
fi
|
||||
|
||||
export HISTSIZE=10000000
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user