#Vim, (削除) 59, 57 (削除ここまで), 48 bytes/keystrokes
Vim, (削除) 59, 57 (削除ここまで), 48 bytes/keystrokes
$:let @q=float2nr(sqrt(col('.')))."|li<C-v><cr><C-v><esc>@q"<cr>@q
Since V is backwards compatible, you can Try it online!
I randomly received an upvote on this answer, so I looked over it again. My vim-golfing skills have greatly increased over the last 7 months, so I saw that this answer was very poorly golfed. This one is much better.
#Vim, (削除) 59, 57 (削除ここまで), 48 bytes/keystrokes
$:let @q=float2nr(sqrt(col('.')))."|li<C-v><cr><C-v><esc>@q"<cr>@q
Since V is backwards compatible, you can Try it online!
I randomly received an upvote on this answer, so I looked over it again. My vim-golfing skills have greatly increased over the last 7 months, so I saw that this answer was very poorly golfed. This one is much better.
Vim, (削除) 59, 57 (削除ここまで), 48 bytes/keystrokes
$:let @q=float2nr(sqrt(col('.')))."|li<C-v><cr><C-v><esc>@q"<cr>@q
Since V is backwards compatible, you can Try it online!
I randomly received an upvote on this answer, so I looked over it again. My vim-golfing skills have greatly increased over the last 7 months, so I saw that this answer was very poorly golfed. This one is much better.
#Vim, (削除) 59, 57 (削除ここまで), 5748 bytes/keystrokes
qqli<cr><esc>@qq@q$:let @q=float2nr(sqrt(linecol('.')))."gJj@q"<cr>gg@q"|li<C-v><cr><C-v><esc>@q"<cr>@q
ThisSince V is almost definitely one of the longest vim answersbackwards compatible, you can Try it online!
I randomly received an upvote on this answer, so I looked over it again. My vim-golfing skills have ever postedgreatly increased over the last 7 months, so I saw that this answer was very poorly golfed. This one is much better.
#Vim, (削除) 59 (削除ここまで), 57 bytes/keystrokes
qqli<cr><esc>@qq@q:let @q=float2nr(sqrt(line('.')))."gJj@q"<cr>gg@q
This is almost definitely one of the longest vim answers I have ever posted.
#Vim, (削除) 59, 57 (削除ここまで), 48 bytes/keystrokes
$:let @q=float2nr(sqrt(col('.')))."|li<C-v><cr><C-v><esc>@q"<cr>@q
Since V is backwards compatible, you can Try it online!
I randomly received an upvote on this answer, so I looked over it again. My vim-golfing skills have greatly increased over the last 7 months, so I saw that this answer was very poorly golfed. This one is much better.
#Vim, 59(削除) 59 (削除ここまで), 57 bytes/keystrokes
:%s/./&\r/g
ddqqli<cr><esc>@qq@q:let @q=float2nr(sqrt(line('.')))."gJ@q"
gg@q"gJj@q"<cr>gg@q
This is almost definitely one of the longest vim answers I have ever posted.
#Vim, 59 bytes/keystrokes
:%s/./&\r/g
dd:let @q=float2nr(sqrt(line('.')))."gJ@q"
gg@q
This is almost definitely one of the longest vim answers I have ever posted.
#Vim, (削除) 59 (削除ここまで), 57 bytes/keystrokes
qqli<cr><esc>@qq@q:let @q=float2nr(sqrt(line('.')))."gJj@q"<cr>gg@q
This is almost definitely one of the longest vim answers I have ever posted.