mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 407a1dc43f134b3c5b5c1bbb1caf8f26fc83abad
parent 7e36e5413fa6239bb164848827da52aa8f7d5299
Author: Duncaen <mail@duncano.de>
Date:   Thu,  2 Feb 2017 15:32:24 +0100

contrib/mvi: remove dead in_motion()

Diffstat:
contrib/mvi | 27---------------------------
1 file changed, 0 insertions(+), 27 deletions(-)

diff --git a/contrib/mvi b/contrib/mvi @@ -154,33 +154,6 @@ in_prefix() { [ "$1" -eq "1" ] && in_cnt1=${n:-0} || in_cnt2=${n:-0} } -in_motion() { - cnt=$(( (in_cnt1 < 1 ? 1 : in_cnt1) * (in_cnt2 < 1 ? 1 : in_cnt2) )) - mv= - case "$in_key" in - # $ - 36) mseq -C "$" ;; - # ^ - 94) mseq -C 1 ;; - # j - 106) mseq -C ".+$cnt" ;; - # k - 107) mseq -C ".-$cnt" ;; - # P - 80) mseq -C "$(mseq ".-1=" | head -n1 | mscan -n)" ;; - # N - 78) mseq -C "$(( $(mseq ".=" | tail -n1 | mscan -n) + 1 ))" ;; - # p - 112) mseq -C "$(mseq "._" | head -n1 | mscan -n)" ;; - # n - 110) mseq -C "$(mseq "._" | tail -n1 | mscan -n)" ;; - # [ - 91) mseq -C "$(mseq ".=" | head -n1 | mscan -n)" ;; - # ] - 93) mseq -C "$(mseq ".=" | tail -n1 | mscan -n)" ;; - esac -} - in_motionln() { cnt=$(( (in_cnt1 < 1 ? 1 : in_cnt1) * (in_cnt2 < 1 ? 1 : in_cnt2) )) mv=