diff options
author | Duncaen <mail@duncano.de> | 2017-02-02 15:32:24 +0100 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2017-02-02 15:32:24 +0100 |
commit | 407a1dc43f134b3c5b5c1bbb1caf8f26fc83abad (patch) | |
tree | 6483ba3c980856c5af116331e3ac39507b3bf130 /contrib/mvi | |
parent | 7e36e5413fa6239bb164848827da52aa8f7d5299 (diff) | |
download | mblaze-407a1dc43f134b3c5b5c1bbb1caf8f26fc83abad.tar.gz mblaze-407a1dc43f134b3c5b5c1bbb1caf8f26fc83abad.tar.xz mblaze-407a1dc43f134b3c5b5c1bbb1caf8f26fc83abad.zip |
contrib/mvi: remove dead in_motion()
Diffstat (limited to 'contrib/mvi')
-rwxr-xr-x | contrib/mvi | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/contrib/mvi b/contrib/mvi index 412e25c..9bdb229 100755 --- 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= |