From 231173c964ddcd138e4a97dd1c0869ba20eb88a9 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sat, 2 Oct 2021 08:36:22 -0600 Subject: [PATCH] add vim org stuff --- .config/nvim/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index c485957..68e01eb 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -23,6 +23,8 @@ require("paq") { "neovim/nvim-lspconfig"; "ziglang/zig.vim"; + "kristijanhusak/orgmode.nvim"; + "hrsh7th/nvim-compe"; } @@ -48,5 +50,10 @@ vim.cmd("syntax off"); vim.cmd("source ~/.config/nvim/dumb.vim"); o.hlsearch = true; +require('orgmode').setup({ + org_agenda_files = {'~/org/*'}, + org_default_notes_file = '~/org/refile.org', +}) + vim.api.nvim_set_keymap("i", "", "compe#confirm({ 'keys': '', 'select': v:true })", { expr = true })