News for hackers. Stuff that matters.
Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by valunord on Saturday October 05, 2024 @07:19AM (#41749116)
I once set out to learn Vi, but the absurd modal editing and convoluted key combinations for basic tasks made it a nightmare. Efficient and logical, my ass!
Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by jbaber on Saturday October 05, 2024 @07:27AM (#41749150)
I find it hard to believe you encountered a single key combination when starting to use vi. Maybe you got far enough to see "ctrl-v"? There are 108 unmodified choices before you'd ever need a combination.
Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by draven on Saturday October 05, 2024 @08:24AM (#41749395)
Furiously spamming ctrl-c trying to quit ?

ctrl-f and ctrl-b are the one I use frequently and amongst the first ones I learned.

Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by kevindamm on Saturday October 05, 2024 @08:58AM (#41749550)
I also like Ctrl-o and Ctrl-i for fast-travel between positions (even across files), and especially that they make sense with an out/in mnemonic.
Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by ralferoo on Saturday October 05, 2024 @08:59AM (#41749554)
: is shifted on almost every keyboard layout, so saving or quitting would require at least one key combination (OK, arguably you can quit with caps lock, Z, Z, caps lock).

But I suspect he meant "sequence of keys" by "key combination" in what was clearly intended to be a humorous parody of the previous comment.

Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by xeeeeeeeeeeenu on Saturday October 05, 2024 @09:36AM (#41749731)
I always remap : (colon) to ; (semicolon) in vi clones to avoid having to use the shift key.
Re:炊紙(kashikishi) is a text editor that utilizes GPU to edit... by ahartmetz on Saturday October 05, 2024 @11:33AM (#41750593)
FWIW, my editor of choice is Kate (with LSP plugin!)

I have more respect for vi's key bindings though because they are, in fact, quite efficient. But I only know enough vi for basic editing.