commit 100f6dc524833f52b8245f2e65d2d659d8a01223
parent 64d0350cf3c1435f385cf3a67e51f1ccedbfd792
Author: Thomas Vigouroux <me@vigoux.eu>
Date: Fri, 31 May 2024 10:48:30 +0200
plugins: add org mode
Diffstat:
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/lua/completree-config.lua b/lua/completree-config.lua
@@ -55,6 +55,7 @@ comp.setup {
vim = cdef.ins_completion "C-V",
dockerfile = cdef.ins_completion "C-F",
query = cdef.ins_completion 'C-O',
+ org = cdef.ins_completion 'C-O',
c = lsp_completion,
cpp = lsp_completion,
lua = {
diff --git a/lua/plugins.lua b/lua/plugins.lua
@@ -119,3 +119,16 @@ require 'notifier'.setup {
add 'mfussenegger/nvim-qwahl'
add 'lewis6991/gitsigns.nvim'
+
+add 'nvim-orgmode/orgmode'
+require('orgmode').setup {
+ org_agenda_files = '~/orgfiles/**/*',
+ org_default_notes_file = '~/orgfiles/refile.org',
+ org_todo_keywords = { 'TODO', 'DOING', '|', 'DONE' },
+ mappings = {
+ global = {
+ org_agenda = "gA",
+ org_capture = "gC"
+ }
+ }
+}