You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.org
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3012,3 +3012,46 @@ require('orgmode').setup({
3012
3012
#+end_src
3013
3013
3014
3014
📝 NOTE: If you are using a plugin for =vim.ui.input=, make sure it supports autocompletion for better experience. [[https://github.com/folke/snacks.nvim][snacks.nvim]] input module supports autocompletion.
3015
+
3016
+
*** virt_cookies
3017
+
:PROPERTIES:
3018
+
:CUSTOM_ID: virt_cookies
3019
+
:END:
3020
+
3021
+
You can toggle Virtual cookies on the fly by executing command =:Org cookie_mode= when in a org buffer.
3022
+
This additionally sets the buffer variable =vim.b.org_cookie_mode= to =true= or =false=, depending on the current state.
3023
+
3024
+
Currently this only applies Virtual cookies to headlines.
3025
+
3026
+
Uses the following highlights:
3027
+
- ~@org.cookie.delimiter~: The highlight to use for the delimiters (brackets: ~[~ & ~]~)
3028
+
- ~@org.cookie.delimiter.left~: A more granular highlight for just the left ~[~ bracket
3029
+
- ~@org.cookie.delimiter.right~: A more granular highlight for just the right ~]~ bracket
3030
+
- ~@org.cookie.number~: The numbers used in the cookie (~50~)
3031
+
- ~org.cookie.number.complete~: A more granular highlight for the left side of ~[1/5]~ (in this case the ~1~)
3032
+
- ~org.cookie.number.total~: A more granular highlight for the right side of ~[1/5]~ (in this case the ~5~)
3033
+
- ~@org.cookie.sign~: The sign used in the cookie (e.g. ~/~, ~%~, or ~???~)
3034
+
- ~@org.cookie.sign.div~: More granular for the div sign, the ~/~ in ~[1/5]~
3035
+
- ~@org.cookie.sign.percent~: More granular for the percent sign, the ~%~ in ~[100%]~
3036
+
3037
+
**** enabled
3038
+
:PROPERTIES:
3039
+
:CUSTOM_ID: virt_cookies_enabled
3040
+
:END:
3041
+
3042
+
- Type: =boolean=
3043
+
- Default: =false=
3044
+
Possible values:
3045
+
- =true= - Uses /Virtual/ cookies to show live progress for applicable headlines.
3046
+
- =false= - Do not add any /Virtual/ cookies.
3047
+
3048
+
**** type
3049
+
:PROPERTIES:
3050
+
:CUSTOM_ID: virt_cookies_type
3051
+
:END:
3052
+
3053
+
- Type: ='%' | '/'=
3054
+
- Default: ='/'=
3055
+
3056
+
The type of virtual cookie to draw for headlines that do not contain a "real" cookie. If a headline contains a real cookie, then it will opt to use the cookie type from that real cookie.
0 commit comments