danr / kakoune-easymotion

kakoune plugin for navigating like the easymotion vim mode
The Unlicense
53 stars 13 forks source link

slow to show labels #1

Closed valerdi closed 6 years ago

valerdi commented 6 years ago

hi, it takes some noticeable milliseconds to show the labels,

cheers

danr commented 6 years ago

Can you run with profiling (set buffer debug profile, and check the *debug* buffer) to see what could cause this?

valerdi commented 6 years ago

it's kind of long, tell me if i should present it in another way, thanks

This is the debug buffer, where debug info will be written Dependency unmet: gocode, please install it to use go-tools Dependency unmet: goimports, please install it to use go-tools Dependency unmet: gogetdoc, please install it to use go-tools Dependency unmet: jq, please install it to use go-tools hook 'BufSetOption(debug=profile)' took 142 us hook 'WinSetOption(debug=profile)' took 1472 us window display update for 'research/phd/EEG/codes/data.jl' took 2578 us shell execution took 2783 us (spawn: 533, wait: 2063) hook 'WinSetOption(em_fg=2431)' took 977 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in)' took 739 us hook 'WinSetOption(_em_seen=)' took 757 us hook 'WinSetOption(_em_jump=3.1,3.34)' took 743 us hook 'WinSetOption(_em_seen=a)' took 754 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;;)' took 754 us hook 'WinSetOption(_em_jump=4.1,4.19)' took 734 us hook 'WinSetOption(_em_seen=ab)' took 748 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b)' took 740 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;;)' took 759 us hook 'WinSetOption(_em_jump=5.1,5.17)' took 748 us hook 'WinSetOption(_em_seen=abc)' took 748 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;;)' took 742 us hook 'WinSetOption(_em_jump=7.1,7.21)' took 751 us hook 'WinSetOption(_em_seen=abcd)' took 747 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d)' took 745 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;;)' took 734 us hook 'WinSetOption(_em_jump=8.1,8.21)' took 782 us hook 'WinSetOption(_em_seen=abcde)' took 747 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;;)' took 738 us hook 'WinSetOption(_em_jump=10.1,10.14)' took 760 us hook 'WinSetOption(_em_seen=abcdef)' took 741 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f)' took 742 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;;)' took 741 us hook 'WinSetOption(_em_jump=11.1,11.24)' took 737 us hook 'WinSetOption(_em_seen=abcdefg)' took 746 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g)' took 740 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;;)' took 743 us hook 'WinSetOption(_em_jump=12.1,12.20)' took 736 us hook 'WinSetOption(_em_seen=abcdefgh)' took 812 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h)' took 847 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;;)' took 819 us hook 'WinSetOption(_em_jump=13.1,13.17)' took 776 us hook 'WinSetOption(_em_seen=abcdefghi)' took 746 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i)' took 735 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;;)' took 739 us hook 'WinSetOption(_em_jump=15.1,15.26)' took 738 us hook 'WinSetOption(_em_seen=abcdefghij)' took 745 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j)' took 745 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;;)' took 742 us hook 'WinSetOption(_em_jump=16.1,16.3)' took 739 us hook 'WinSetOption(_em_seen=abcdefghijk)' took 745 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k)' took 747 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;;)' took 742 us hook 'WinSetOption(_em_jump=18.1,18.21)' took 745 us hook 'WinSetOption(_em_seen=abcdefghijkl)' took 746 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;;)' took 743 us hook 'WinSetOption(_em_jump=21.1,21.34)' took 736 us hook 'WinSetOption(_em_seen=abcdefghijklm)' took 749 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;;)' took 743 us hook 'WinSetOption(_em_jump=22.1,22.31)' took 740 us hook 'WinSetOption(_em_seen=abcdefghijklmn)' took 749 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;;)' took 740 us hook 'WinSetOption(_em_jump=23.1,23.29)' took 735 us hook 'WinSetOption(_em_seen=abcdefghijklmno)' took 761 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;;)' took 737 us hook 'WinSetOption(_em_jump=25.1,25.25)' took 732 us hook 'WinSetOption(_em_seen=abcdefghijklmnop)' took 753 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p)' took 746 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;;)' took 733 us hook 'WinSetOption(_em_jump=26.1,26.25)' took 738 us hook 'WinSetOption(_em_seen=abcdefghijklmnopq)' took 755 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q)' took 740 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;;)' took 741 us hook 'WinSetOption(_em_jump=28.1,28.14)' took 743 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqr)' took 762 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r)' took 742 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;;)' took 744 us hook 'WinSetOption(_em_jump=29.1,29.28)' took 733 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrs)' took 758 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s)' took 744 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;;)' took 742 us hook 'WinSetOption(_em_jump=30.1,30.20)' took 737 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrst)' took 757 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t)' took 743 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;;)' took 746 us hook 'WinSetOption(_em_jump=31.1,31.21)' took 743 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstu)' took 794 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u)' took 744 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;;)' took 746 us hook 'WinSetOption(_em_jump=33.1,33.34)' took 739 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstuv)' took 755 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u:33.1,33.1|{EasyMotionForeground}v)' took 744 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;;)' took 737 us hook 'WinSetOption(_em_jump=34.1,34.3)' took 738 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstuvw)' took 749 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u:33.1,33.1|{EasyMotionForeground}v:34.1,34.1|{EasyMotionForeground}w)' took 745 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;; w) echo "select 34.1,34.3" ;;)' took 739 us hook 'WinSetOption(_em_jump=36.1,36.31)' took 742 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstuvwx)' took 763 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u:33.1,33.1|{EasyMotionForeground}v:34.1,34.1|{EasyMotionForeground}w:36.1,36.1|{EasyMotionForeground}x)' took 740 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;; w) echo "select 34.1,34.3" ;; x) echo "select 36.1,36.31" ;;)' took 742 us hook 'WinSetOption(_em_jump=38.1,38.8)' took 736 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstuvwxy)' took 744 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u:33.1,33.1|{EasyMotionForeground}v:34.1,34.1|{EasyMotionForeground}w:36.1,36.1|{EasyMotionForeground}x:38.1,38.1|{EasyMotionForeground}y)' took 745 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;; w) echo "select 34.1,34.3" ;; x) echo "select 36.1,36.31" ;; y) echo "select 38.1,38.8" ;;)' took 741 us hook 'WinSetOption(_em_jump=40.1,40.15)' took 739 us hook 'WinSetOption(_em_seen=abcdefghijklmnopqrstuvwxyz)' took 747 us hook 'WinSetOption(em_fg=2431:3.1,3.1|{EasyMotionForeground}a:4.1,4.1|{EasyMotionForeground}b:5.1,5.1|{EasyMotionForeground}c:7.1,7.1|{EasyMotionForeground}d:8.1,8.1|{EasyMotionForeground}e:10.1,10.1|{EasyMotionForeground}f:11.1,11.1|{EasyMotionForeground}g:12.1,12.1|{EasyMotionForeground}h:13.1,13.1|{EasyMotionForeground}i:15.1,15.1|{EasyMotionForeground}j:16.1,16.1|{EasyMotionForeground}k:18.1,18.1|{EasyMotionForeground}l:21.1,21.1|{EasyMotionForeground}m:22.1,22.1|{EasyMotionForeground}n:23.1,23.1|{EasyMotionForeground}o:25.1,25.1|{EasyMotionForeground}p:26.1,26.1|{EasyMotionForeground}q:28.1,28.1|{EasyMotionForeground}r:29.1,29.1|{EasyMotionForeground}s:30.1,30.1|{EasyMotionForeground}t:31.1,31.1|{EasyMotionForeground}u:33.1,33.1|{EasyMotionForeground}v:34.1,34.1|{EasyMotionForeground}w:36.1,36.1|{EasyMotionForeground}x:38.1,38.1|{EasyMotionForeground}y:40.1,40.1|{EasyMotionForeground}z)' took 744 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;; w) echo "select 34.1,34.3" ;; x) echo "select 36.1,36.31" ;; y) echo "select 38.1,38.8" ;; z) echo "select 40.1,40.15" ;;)' took 745 us hook 'WinSetOption(_em_jumps=on-key %{ %sh{ case $kak_key in a) echo "select 3.1,3.34" ;; b) echo "select 4.1,4.19" ;; c) echo "select 5.1,5.17" ;; d) echo "select 7.1,7.21" ;; e) echo "select 8.1,8.21" ;; f) echo "select 10.1,10.14" ;; g) echo "select 11.1,11.24" ;; h) echo "select 12.1,12.20" ;; i) echo "select 13.1,13.17" ;; j) echo "select 15.1,15.26" ;; k) echo "select 16.1,16.3" ;; l) echo "select 18.1,18.21" ;; m) echo "select 21.1,21.34" ;; n) echo "select 22.1,22.31" ;; o) echo "select 23.1,23.29" ;; p) echo "select 25.1,25.25" ;; q) echo "select 26.1,26.25" ;; r) echo "select 28.1,28.14" ;; s) echo "select 29.1,29.28" ;; t) echo "select 30.1,30.20" ;; u) echo "select 31.1,31.21" ;; v) echo "select 33.1,33.34" ;; w) echo "select 34.1,34.3" ;; x) echo "select 36.1,36.31" ;; y) echo "select 38.1,38.8" ;; z) echo "select 40.1,40.15" ;;esac }; easy-motion-rmhl })' took 748 us window display update for 'research/phd/EEG/codes/data.jl' took 17120 us shell execution took 2832 us (spawn: 524, wait: 2015) window display update for 'research/phd/EEG/codes/data.jl' took 3065 us

danr commented 6 years ago

I see, thanks. The only solution I can see right now is to use more shell scopes. I think I was amusing myself with trying to use as few shell scopes as possible when I wrote this... But maybe it could open up some possibilities to make the code more flexible ie extend selection to the letter or make a new cursor there, etc. It's an interesting challenge.