summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/plugins/orgmode.fnl18
-rw-r--r--fnl/settings/icons.fnl64
-rw-r--r--lazy-lock.json8
3 files changed, 53 insertions, 37 deletions
diff --git a/fnl/plugins/orgmode.fnl b/fnl/plugins/orgmode.fnl
index bbd75ac..ba562e7 100644
--- a/fnl/plugins/orgmode.fnl
+++ b/fnl/plugins/orgmode.fnl
@@ -1,5 +1,7 @@
;; Orgmode for nvim.
+(local icons (require :settings.icons))
+
(local keys [{1 :ga 2 :<cmd>OrgAgendaPrompt<cr> :desc "Open agenda prompt"}
{1 :gc 2 :<cmd>OrgCapturePrompt<cr> :desc "Open capture prompt"}
{1 :go
@@ -43,6 +45,8 @@
{:org_agenda_files ["~/.local/share/org/**/*"]
:org_hide_emphasis_markers true
:org_agenda_start_on_weekday false
+ :org_startup_indented true
+ :org_log_into_drawer :LOGBOOK
:org_default_notes_file "~/.local/share/org/refile.org"
:org_agenda_templates templates
:mappings {:org {:org_cycle :<c-e> :org_global_cycle :<s-e>}}})
@@ -52,11 +56,21 @@
bullets (require :org-bullets)]
(orgmode.setup_ts_grammar)
(orgmode.setup opts)
- (bullets.setup {:concealcursor true})))
+ (bullets.setup {:concealcursor true
+ :symbols {:list (. icons :line)
+ :headlines [(. icons :orb)
+ (. icons :filled-orb)
+ (. icons :pentagon)
+ (. icons :filled-pentagon)]
+ :checkboxes {:half [(. icons :line)
+ "@org.checkbox.halfchecked"]
+ :done [(. icons :checkmark)
+ "@org.checkbox.checked"]
+ :todo [" " "@org.checkbox.checked"]}}})))
{1 :nvim-orgmode/orgmode
:dependencies :akinsho/org-bullets.nvim
- :ft :org
+ :ft [:org :orgagenda]
: config
: init
: keys}
diff --git a/fnl/settings/icons.fnl b/fnl/settings/icons.fnl
index 080b1cb..9f53bbc 100644
--- a/fnl/settings/icons.fnl
+++ b/fnl/settings/icons.fnl
@@ -1,47 +1,49 @@
;; Icons.
-{:error ""
- :warn ""
- :hint ""
- :info ""
- :git " "
- :search-project "󰺅"
- :search-files "󰱽"
- :search-text "󱎸"
- :notebook ""
- :recent-files "󱋢"
- :cog ""
- :org ""
+{:caret ">"
:checkmark ""
- :right-arrow ""
- :small-right-arrow ""
- :guillemet "»"
- :up :
- :down :
:close ""
+ :cmd ""
+ :code ""
+ :cog ""
+ :conflict ""
+ :document ""
+ :down :
+ :error ""
+ :filled-orb "●"
+ :filled-pentagon "󰜁"
+ :git " "
:git-add "|"
+ :git-change-delete "~"
:git-delete "_"
:git-top-delete "‾"
- :git-change-delete "~"
:git-untracked "┆"
- :telescope ""
- :caret ">"
- :cmd ""
- :lightning ""
- :document ""
+ :guillemet "»"
+ :hint ""
+ :ignored ""
:import ""
+ :info ""
:keyboard ""
- :sleep "󰒲"
- :filled-orb "●"
+ :lightning ""
+ :line "‒"
+ :notebook ""
:orb "○"
+ :org ""
:package "󰏗"
- :vim ""
- :code ""
+ :pentagon "󰜀"
:play ""
+ :recent-files "󱋢"
+ :right-arrow ""
+ :search-files "󰱽"
+ :search-project "󰺅"
+ :search-text "󱎸"
+ :sleep "󰒲"
+ :small-right-arrow ""
+ :staged ""
:star ""
- :line "‒"
- :ignored ""
+ :telescope ""
:unstaged ""
- :staged ""
- :conflict ""
+ :up :
+ :vim ""
+ :warn ""
}
diff --git a/lazy-lock.json b/lazy-lock.json
index 53fa49b..e33c1bc 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -9,7 +9,7 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp-spell": { "branch": "master", "commit": "32a0867efa59b43edbb2db67b0871cfad90c9b66" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
- "conform.nvim": { "branch": "master", "commit": "5590829695339fb259bb93bdd9f4c328e05f831d" },
+ "conform.nvim": { "branch": "master", "commit": "4c01323a67f1636d73803aad4e8e735bad7a9561" },
"dial.nvim": { "branch": "master", "commit": "27eb570085db2ef44bff4f620d3806039184651c" },
"diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" },
"easyread.nvim": { "branch": "main", "commit": "0b07e315a4cd7d700c4a794bdddbec79fdc2628b" },
@@ -30,14 +30,13 @@
"mason-lspconfig.nvim": { "branch": "main", "commit": "7897c45e8f0f7fefe3b3ee00d8e89dc67a113e25" },
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
"neogit": { "branch": "master", "commit": "1c0369a39587054ff473179c1c04e793fb3d6378" },
- "no-clown-fiesta.nvim": { "branch": "master", "commit": "4771a1b71e10c597db3352c52867a73c8831c6ef" },
"noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" },
"nui.nvim": { "branch": "main", "commit": "c3c7fd618dcb5a89e443a2e1033e7d11fdb0596b" },
"nvim-bqf": { "branch": "main", "commit": "654c904d5ad9dc4846445056086168e25bd8ba2d" },
"nvim-bufdel": { "branch": "main", "commit": "523d58e94e7212fff3e05c247b962dc8f93bcfde" },
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
- "nvim-lint": { "branch": "master", "commit": "31be66c27214174a28fc092ffcf4bb3e8f6cfd43" },
+ "nvim-lint": { "branch": "master", "commit": "99f93757276ea55c35bbe74ad2a3d25fc504643b" },
"nvim-lspconfig": { "branch": "master", "commit": "1699ce10c3aaf861cfa0c1303fcd19d2ed93e7ad" },
"nvim-spectre": { "branch": "master", "commit": "3712ff0cdf4f9f877d9ca708d835a877d9a0abaf" },
"nvim-surround": { "branch": "main", "commit": "8f2af76134f37058dc4c27a24bc5f86c9cae76dc" },
@@ -48,8 +47,9 @@
"nvim-window-picker": { "branch": "main", "commit": "2c8200c5cbcdaac01dfe2c049997a1ca178506d8" },
"oil.nvim": { "branch": "master", "commit": "bcfe7d1ec5bbf41dd78726f579a363028d208c1a" },
"org-bullets.nvim": { "branch": "main", "commit": "208b8519bccbb9b67deee7115fd6587983d279c1" },
- "orgmode": { "branch": "master", "commit": "c358d9506ff57ede31117a8cbe9040e6a0b7c8e4" },
+ "orgmode": { "branch": "master", "commit": "e042fce1eeb072afb324c010797bddb2dc406aad" },
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
+ "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
"plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },