add vim org stuff

This commit is contained in:
Aaron Bieber 2021-10-02 08:36:22 -06:00
parent 186aee6a23
commit 231173c964

View File

@ -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", "<CR>", "compe#confirm({ 'keys': '<CR>', 'select': v:true })", { expr = true })