# emacs-like keybind
bindkey -e

# Will be overwritten by zsh-history-substring-search
bindkey '^P' history-beginning-search-backward
bindkey '^N' history-beginning-search-forward

# Ctrl+Q: Save a partially written commands and resume after the next command
# or make all lines editable when writing a multi-line command
bindkey '^Q' push-line-or-edit
bindkey '^[Q' push-line-or-edit
bindkey '^[q' push-line-or-edit


# emacs-like keybind
bindkey -e

# Will be overwritten by zsh-history-substring-search
bindkey '^P' history-beginning-search-backward
bindkey '^N' history-beginning-search-forward

# Ctrl+Q: Save a partially written commands and resume after the next command
# or make all lines editable when writing a multi-line command
bindkey '^Q' push-line-or-edit
bindkey '^[Q' push-line-or-edit
bindkey '^[q' push-line-or-edit

# Ctrl + left/right arrow keys to move between words
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word


Add terminal shortcuts to move words (Ctrl + ←/→)
Add terminal shortcuts to move words (Ctrl + ←/→)
