mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Merge 7d30246d31 into 175b4a8073
This commit is contained in:
commit
7109704f85
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# dircycle plugin: enables cycling through the directory
|
# dircycle plugin: enables cycling through the directory
|
||||||
# stack using Ctrl+Shift+Left/Right
|
# stack using Ctrl+Shift+Left/Right
|
||||||
|
|
||||||
eval "insert-cycledleft () { zle push-line; LBUFFER='pushd -q +1'; zle accept-line }"
|
eval "insert-cycledleft () { zle push-line; LBUFFER='pushd -q -1'; zle accept-line }"
|
||||||
zle -N insert-cycledleft
|
zle -N insert-cycledleft
|
||||||
bindkey "\e[1;6D" insert-cycledleft
|
bindkey "\e[1;6D" insert-cycledleft
|
||||||
eval "insert-cycledright () { zle push-line; LBUFFER='pushd -q +0'; zle accept-line }"
|
eval "insert-cycledright () { zle push-line; LBUFFER='pushd -q +0'; zle accept-line }"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue