Skip to content

A Neovim plugin for checking, unchecking and toggling Markdown checkboxes.

License

Notifications You must be signed in to change notification settings

opdavies/toggle-checkbox.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

toggle-checkbox.nvim

A Neovim plugin for checking and unchecking Markdown checkboxes, written in Lua.

Inspired by jkramer/vim-checkbox.

Example

This is an example of the TODOs that I was using and testing with whilst writing this plugin:

- [ ] Check an unchecked checkbox
- [x] Uncheck a checked checkbox
- [ ] Make check symbol customisable
- [x] Make checking toggleable
  - [x] Determine if a line contains a checked checkbox
- [x] Add README
- [x] Add example keymaps

Keymaps

There are no default keymaps but these can be added using vim.keymap.set():

vim.keymap.set("n", "<leader>tt", ":lua require('toggle-checkbox').toggle()<CR>")

About

A Neovim plugin for checking, unchecking and toggling Markdown checkboxes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages