News for hackers. Stuff that matters.
Re:My Favorite Vim Oneliners for Text Manipulation by byttemos on Sunday August 06, 2023 @03:58AM (#37019865)
Pretty novice Vim user here. I FOR SURE think about it, and it costs me quite a bit of brain power to navigate. I made my own way pf remembering:

H = the leftmost key, so left L = the rightmost key, so right J = jeet (yeet), so down K = klimb (climb), so up

I look forward to the day this is just burned into my subconscious, but until then, this works I suppose

Re:My Favorite Vim Oneliners for Text Manipulation by fuzztester on Sunday August 06, 2023 @04:22AM (#37019990)
That's exactly the reason the keys were assigned that way. Pat yourself on the back, kid ;-)
Re:My Favorite Vim Oneliners for Text Manipulation by fsckboy on Monday August 07, 2023 @02:47AM (#37031051)
exactly the reason starting with ^H is backspace (left) and ^J is linefeed (down)
Re:My Favorite Vim Oneliners for Text Manipulation by fuzztester on Monday August 07, 2023 @05:56PM (#37041504)
Ha ha, good one.

Does the analogy hold for ^M which is carriage return?

Anyway, I remember that stuff. Had a lot of "fun" on Unixes back in the day using things like ^J, ^M, ^H, stty sane, stty -a, stty icrnl, stty onlcr (or is it the other way around), fiddling with termcap and terminfo, and much more ...