Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 939 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 939 Bytes

join.nvim

This plugin joins lines that belong to the same paragraph into one line.

It has been tested with Neovim version 0.9.4.

Bug reports and improvements are very welcome!

Usage

Select the lines you want to join and run the user command Join.

The difference between this plugin and the internal join command is that this tool does not merge lines belonging to different paragraphs.

Demo

Screencast demo

Installation

lazy.nvim

Add the following to the list of your plugins:

{
    'jakeru/join.nvim',
    config = true,
    submodules = false,
},

If you want to invoke the tool using a combination of keys, add something like this to your configuration:

vim.keymap.set("v", "<Leader>J", require('join').join, { desc = "Join selected lines" })