KDE & Emacs
This commit is contained in:
1 parent
edcf5dd381
commit
8d688d1107
50 files changed
+2122
-1267
No files matched your search
@@ -0,0 +1,31 @@
|
||||
return {
|
||||
'nvim-orgmode/orgmode',
|
||||
event = 'VeryLazy',
|
||||
ft = { 'org' },
|
||||
config = function()
|
||||
-- Setup orgmode
|
||||
require('orgmode').setup({
|
||||
org_agenda_files = '~/orgfiles/**/*',
|
||||
org_default_notes_file = '~/orgfiles/refile.org',
|
||||
org_hide_emphasis_markers = true,
|
||||
})
|
||||
|
||||
-- Enable line wrapping and line breaking for Org files
|
||||
vim.api.nvim_create_augroup("OrgMode", { clear = true })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "org",
|
||||
callback = function()
|
||||
vim.opt_local.wrap = true
|
||||
vim.opt_local.linebreak = true
|
||||
vim.opt_local.textwidth = 80
|
||||
end,
|
||||
})
|
||||
|
||||
-- AUTHORS_NOTE: If you are using nvim-treesitter with ~ensure_installed = "all"~ option
|
||||
-- add ~org~ to ignore_install
|
||||
-- require('nvim-treesitter.configs').setup({
|
||||
-- ensure_installed = 'all',
|
||||
-- ignore_install = { 'org' },
|
||||
-- })
|
||||
end,
|
||||
}
|
||||
Reference in new issue
Block a user