Commit graph

11 commits

Author SHA1 Message Date
phancb 58f958a2dc feat: make checkbox first on line without checkbox 2023-12-23 17:46:53 +00:00
Oliver Davies 856b3d99cd feat: add a ToggleCheckbox user command 2023-02-06 10:36:42 +00:00
Oliver Davies 9c3db1f2cb refactor: extract a variable for the start line 2022-08-09 09:48:24 -04:00
Oliver Davies a3fabd8fa4 refactor: use the variables in more places 2022-08-09 00:47:41 -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