]>
git.rmz.io Git - dotfiles.git/blob - zsh/plugins/dircycle/dircycle.plugin.zsh
2 # dircycle plugin: enables cycling through the directory
3 # stack using Ctrl+Shift+Left/Right
5 eval "insert-cycledleft () { zle push-line; LBUFFER='pushd -q +1'; zle accept-line }"
6 zle
-N insert
-cycledleft
7 bindkey
"\e[1;6D" insert
-cycledleft
8 eval "insert-cycledright () { zle push-line; LBUFFER='pushd -q -0'; zle accept-line }"
9 zle
-N insert
-cycledright
10 bindkey
"\e[1;6C" insert
-cycledright