Re:My Favorite Vim Oneliners for Text Manipulation
by pxeger1 on Sunday August 06, 2023 @03:03AM
(#37019613)
I think they were using uppercase to make the keys stand out, but they know they're not used with the shift key.
Re:My Favorite Vim Oneliners for Text Manipulation
by d-lisp on Monday August 07, 2023 @02:58AM
(#37031136)
For their defence, keyboards are annotated with uppercase letters.
Re:My Favorite Vim Oneliners for Text Manipulation
by fuzztester on Sunday August 06, 2023 @06:39AM
(#37020659)
>Nope, j is down. J combines the current line with the next line, reducing whitespace between to 1 space.
And so J stands for Join (the next line to the current line), IIRC.
Nope, j is down. J combines the current line with the next line, reducing whitespace between to 1 space.
Back when I first figured out what J was doing (having typo'd it regularly) I thought it was useless, then one day I just started reflexively using it when manipulating function arguments.
Likewise, k is up, K looks up the word under the cursor in a man page.