Learning vim every now and then. Is the equivalent to Emacs's M-q really gqip?

@johns I usually have formatting already set up for a file and just hit '=' (often with the lines I want formatted already selected). With how I have it set up, vim wraps it when needed.

It's fewer keys and vim indents when it thinks it is necessary. (With text files like Markdown or already-indented lines in other files, there's basically no difference between = and gqip.)

@johns Yes, though if you do evil mode, you can just keep using M-q for stuff like that.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml