Commit graph

15 commits

Author SHA1 Message Date
Oliver Davies d61f1c4585 docs: add initial thoughts 2022-08-13 17:46:18 +01:00
Oliver Davies 996cd10278 refactor: remove init.lua
Fixes #1
2022-08-11 01:02:30 +01:00
Oliver Davies 9c3db1f2cb refactor: extract a variable for the start line 2022-08-09 09:48:24 -04:00
Oliver Davies c23e97c6ca docs: update README 2022-08-09 09:24:10 -04:00
Oliver Davies ebf0639fca docs: update README 2022-08-09 09:23:38 -04:00
Oliver Davies 0af4c0acbb docs: update example keymap 2022-08-09 09:21:37 -04:00
Oliver Davies a3fabd8fa4 refactor: use the variables in more places 2022-08-09 00:47:41 -04:00
Oliver Davies acf32d44b0 docs: add README 2022-08-08 21:22:35 -04:00
Oliver Davies f1e335a96d fix: cursor position is cached
Running the toggle command via a keymap multiple times within the same
file was always returning the first toggled line rather than updating
the cursor position and using the next line.
2022-08-08 21:20:36 -04:00
Oliver Davies 19bc23fc3e feat: allow for toggling checkboxes 2022-08-08 19:11:15 -04:00
Oliver Davies 760b74ee6e refactor: extract a function for writing a line 2022-08-08 18:45:22 -04:00
Oliver Davies 2a4c5b0682 feat: set the cursor to the original position 2022-08-08 18:29:55 -04:00
Oliver Davies c8da955004 feat: check or uncheck the current line 2022-08-08 18:27:19 -04:00
Oliver Davies 805aeab265 feat: determine if a line contains a checked box 2022-08-08 14:05:45 -04:00
Oliver Davies 6151b3c0e2 feat: check and uncheck checkboxes 2022-08-08 13:58:47 -04:00