From 7ec1fa7385c1b88a2efdad72c805b254c52084bd Mon Sep 17 00:00:00 2001 From: A Farzat Date: Wed, 6 Nov 2024 09:09:37 +0900 Subject: Remove nvim submodule Nvim config will be included as bare files instead of a submodule. The nvim config repo will still exist, but the content will be used by yadm without the repo itself. --- .config/nvim/plugin-settings/orgmode.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/nvim/plugin-settings/orgmode.lua (limited to '.config/nvim/plugin-settings/orgmode.lua') diff --git a/.config/nvim/plugin-settings/orgmode.lua b/.config/nvim/plugin-settings/orgmode.lua new file mode 100644 index 0000000..7f7428e --- /dev/null +++ b/.config/nvim/plugin-settings/orgmode.lua @@ -0,0 +1,7 @@ +local xdg_data = os.getenv("XDG_DATA_HOME") or "~/.local/share" +local orgmode_files = xdg_data .. "/orgmode" + +require('orgmode').setup({ + org_agenda_files = {orgmode_files .. '/**/*'}, + org_default_notes_file = orgmode_files .. 'default.org', +}) -- cgit v1.2.3-70-g09d2