Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/massix/org-checkbox.nvim

Very simple plugin to convert lists into checkboxes in org-mode files
https://github.com/massix/org-checkbox.nvim

neovim neovim-plugin nvim nvim-orgmode nvim-plugin orgmode-nvim

Last synced: 13 days ago
JSON representation

Very simple plugin to convert lists into checkboxes in org-mode files

Awesome Lists containing this project

README

        

# Org Checkbox
Small plugin to convert list into checkboxes and viceversa.

## Installation
To install the plugin, simply add the following lines with your favourite
plugin manager, the example below is using [Lazy](https://github.com/folke/lazy.nvim):

```lua
{
"massix/org-checkbox.nvim",
config = function()
require("orgcheckbox").setup()
end,
ft = { "org" },
}
```

## Usage
The plugin automatically registers a buffer-local mapping set by default to
`oC` which, if triggered on a list item it will toggle it between a
checkbox and a standard list item.

If you want to change the default mapping, call `setup` with an `lhs` option:
```lua
{
"massix/org-checkbox.nvim",
config = function()
require("orgcheckbox").setup({ lhs = "oT" })
end,
}
```