mirror of
https://github.com/cole-maxwell1/dotfiles.git
synced 2026-03-26 22:20:03 -04:00
Add bindkeys arrow jump word
This commit is contained in:
11
.zshrc
11
.zshrc
@@ -72,6 +72,17 @@ setopt histignorealldups sharehistory
|
|||||||
# Use emacs keybindings even if EDITOR is set to vi
|
# Use emacs keybindings even if EDITOR is set to vi
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
|
||||||
|
###################################################
|
||||||
|
# Custom key bindings for cursor navigation
|
||||||
|
###################################################
|
||||||
|
|
||||||
|
# Bind Ctrl + Right Arrow to move forward one word
|
||||||
|
bindkey "^[[1;5C" forward-word
|
||||||
|
# Bind Ctrl + Left Arrow to move backward one word
|
||||||
|
bindkey "^[[1;5D" backward-word
|
||||||
|
|
||||||
|
###################################################
|
||||||
|
|
||||||
# History settings
|
# History settings
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
|
|||||||
Reference in New Issue
Block a user