vim: join lines without producing a space

· Thiago Perrotta · July 22, 2025, 10:15 a.m.
Summary
This blog post discusses a common issue encountered when using Vim to insert markdown links, specifically the unwanted space produced when joining lines. It explains how to configure Vim to use the 'gJ' command for joining lines without adding a space, offering a solution that makes it easier for users who often edit links and want to avoid the frustration of extra spaces. The post aims to streamline the editing process for developers who use Vim for markdown formatting.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →