Neovim plugin to toggle between different kinds of lists.
#+TITLE: org-list.nvim #+AUTHOR: Mohamed Hamidi #+OPTIONS: toc:2
A simple Neovim plugin that makes working with lists a breeze! Whether you're taking notes, making TODOs, or organizing your thoughts, this plugin helps you manage different types of lists with minimal effort.
https://github.com/user-attachments/assets/c4d69201-503b-4977-ba5e-6456a28e6899
While this plugin was designed to complement [[https://github.com/nvim-orgmode/orgmode][nvim-orgmode]], it works perfectly fine as a standalone plugin for managing lists in any text file.
- โจ Features
- List Type Cycling: Quickly switch between different list formats:
- Smart Checkbox Management:
- Repeatable actions using vim-repeat (press . to repeat)
- ๐ Installation
** Using packer.nvim #+begin_src lua use { "hamidi-dev/org-list.nvim", requires = { "tpope/vim-repeat", -- for repeatable actions with '.' }, config = function() require("org-list").setup() end } #+end_src
- โ๏ธ Configuration
#+begin_src lua require("org-list").setup({ mapping = { key = "
- ๐ฎ Usage
- Place your cursor anywhere in a list
- Press =
lt= (or your custom mapping) - The entire list will cycle through different formats
- Press =.= to repeat the cycle action on other lists (requires vim-repeat)
- Place your cursor on a checkbox line
- Press =
= (or your custom mapping) - The checkbox will toggle between empty, checked, and partial states
- Press =.= to repeat the toggle action on other checkboxes (requires vim-repeat)
- ๐ก Tips
- The plugin is smart enough to handle nested lists and maintain proper indentation
- Parent checkboxes automatically show:
- Works seamlessly with org-mode syntax and conventions
- ๐ค Contributing
- Open an issue
- Submit a pull request
- Start a discussion
- ๐ License