« first day (450 days earlier)      last day (1361 days later) » 

15:34
@nmjcman101 I just added the line/column features. Let me know how it works for you
Right now it goes:
" Û, <M-[>, current line
" Ý, <M-]>, current column
" û, <M-{>, number of lines (in the buffer)
" ý, <M-}>, number of columns (in the current line)
16:22
Also, I finally added a shortcut for :s/./&\r/g
nnoremap <leader>ó :s/./&\r/g<cr>
xnoremap <leader>ó :s/./&\r/g<cr>
nnoremap <leader>Ó :s/.\ze./&\r/g<cr>
xnoremap <leader>Ó :s/.\ze./&\r/g<cr>
The capital version is nice because it doesn't add the trailing newline
16:51
The current line and column are super sweet as are those shortcuts. I like your answer, i was trying to finagle Î>Gäê into it
Interesting
I was trying to build the main text with a recursive command, but for some reason everything didn't work
No clue why
Do you still have the command around?
No
I'll try it again though, just a second
huh. Turns out that it isn't actually any shorter, since I've golfed my solution
@nmjcman101 This should work AFAICT: Try it online!
Why GG at the end?
Oh wait I got it
It's >G and G
17:00
So on the last line you break on l
Yeah, which isn't entirely correct
But I'm more confused about the strange lack of indentation
and you're relying on autoindent to try and continue the spacing?
Oh......
I forgot about autoindent
That's why it worked in vim and not V
I have this Try it online! but the <M-j> does funny things on the last line
(also here's an instance where something like would be neat but I don't know how many other places it would b ehelpful)
That is weird
@nmjcman101 Hacky solution: Try it online!
17:11
(Ignoring that issue for a second) Try it online! doesn't even finish running and I'm not sure why
@nmjcman101 Try it online!
It's because Î doesn't implicitly end commands like substitute and global do
I really should shortcut Î to ç^/
I'm just really worried that'll break something obscure
No idea what
17:30
The nice thing about making it ç^/ is that it works SLIGHTLY differently which is sometimes useful. IE you can do the ç^/m0 trick to reverse everything
It's actually very Different. For example, things like Yp work with the global version, but not the norm version
Yeah because it marks all the lines that match, and then goes through and does the thing on them
Yeah, and norm marks the numbers I think? So if you Yp the number itself changes
I've been thinking that remap would be useful for a while but i agree with breaking something obscure
Which will move the mark but not the number
@nmjcman101 Although, if it does break something obscure, then it's a simple fix (prepend a : and it will work the same)
That one byte in unimaginable obscure unlikely situations is well worth the change IMO
17:34
why prepend a :?
Because it's cnoremapped also
oh got it. that seems like there could be a more obscure case where I want to do it in command mode and have it work the new way but that's probably not going to happen
Actually, TBH I can't think of any time that <M-N has ever been used in command mode.
It should be possible, but I really don't think it's ever happened
agree
when would you use it? combining ex commands to try and save bytes?
Yeah, probably

« first day (450 days earlier)      last day (1361 days later) »