Skip to content

Commit 55371f0

Browse files
Add ctrl+left and ctrl+right bindings
Add ctrl+left and ctrl+right bindings in the default .zshrc so that navigate on the current command line becomes easier.
1 parent 48883f0 commit 55371f0

File tree

1 file changed

+2
-0
lines changed
  • provisioning/roles/zsh/files

1 file changed

+2
-0
lines changed

provisioning/roles/zsh/files/.zshrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ bindkey '^?' backward-delete-char
3737

3838
bindkey j accept-line
3939
bindkey g complete-word
40+
bindkey '^[[1;5C' forward-word
41+
bindkey '^[[1;5D' backward-word
4042

4143
###################
4244
## Options Settings

0 commit comments

Comments
 (0)