Skip to content

A Neovim plugin for joining lines that belong to the same paragraph

License

Notifications You must be signed in to change notification settings

jakeru/join.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" })

About

A Neovim plugin for joining lines that belong to the same paragraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages