| Server IP : 74.208.236.79 / Your IP : 216.73.216.40 Web Server : Apache System : Linux infongp-us50 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64 User : u93192080 ( 6162215) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/usr/share/zsh/functions/Zle/ |
Upload File : |
#autoload
# Line motions that do not leave the current history entry,
# for editing in multi-line buffers.
# To use:
# autoload -Uz move-line-in-buffer
# zle -N up-line-in-buffer move-line-in-buffer
# zle -N down-line-in-buffer move-line-in-buffer
#
# then bindkey as you prefer
local hno=$HISTNO curs=$CURSOR
zle .${WIDGET:s/in-buffer/or-history} "$@" &&
(( HISTNO != hno && (HISTNO=hno, CURSOR=curs) ))
return 0