z_mirror/kak-move-lines

git clone https://git.raiguard.me/z_mirror/kak-move-lines

Caleb HeuerRelocate source to rc directoryb399d0d

trunk
404 B13 linesraw
1define-command move-lines-down \
2-docstring 'move-lines-down [<count>] move selected lines down by <count> or one line' \
3-params ..1 \
4%{
5    execute-keys -draft "x<a-_><a-:>Z;ez;%arg{1}J<a-;>LxdzP"
6}
7
8define-command move-lines-up \
9-docstring 'move-lines-up [<count>] move selected lines up by <count> or one line' \
10-params ..1 \
11%{
12    execute-keys -draft "x<a-_><a-:><a-;>Z;bz;%arg{1}K<a-;>Hxdzp"
13}