Skip to content

Installation

Installation methods

Orgmode can be installed with any package manager. Here are few examples:

  1. Built-in package manager (Recommended)

    lua
    vim.pack.add({ 'https://github.com/nvim-orgmode/orgmode' })
    
    -- Setup orgmode
    require('orgmode').setup({
      org_agenda_files = '~/orgfiles/**/*',
      org_default_notes_file = '~/orgfiles/refile.org',
    })
    
    -- Experimental LSP support
    vim.lsp.enable('org')
  2. lazy.nvim

    lua
    return {
      'nvim-orgmode/orgmode',
      event = 'VeryLazy',
      config = function()
        require('orgmode').setup({
          org_agenda_files = '~/orgfiles/**/*',
          org_default_notes_file = '~/orgfiles/refile.org',
        })
       -- Experimental LSP support
       vim.lsp.enable('org')
      end,
    }
  3. pckr.nvim

    lua
    require('pckr').add({
      {
       'nvim-orgmode/orgmode',
         config = function()
           require('orgmode').setup({
             org_agenda_files = '~/orgfiles/**/*',
             org_default_notes_file = '~/orgfiles/refile.org',
           })
         end
      }
    })
  4. vim-plug

    vim
    Plug 'nvim-orgmode/orgmode'
    
    lua << EOF
    require('orgmode').setup({
      org_agenda_files = '~/orgfiles/**/*',
      org_default_notes_file = '~/orgfiles/refile.org',
    })
    EOF
  5. dein.vim

    vim
    call dein#add('nvim-orgmode/orgmode')
    
     lua << EOF
     require('orgmode').setup({
       org_agenda_files = '~/orgfiles/**/*',
       org_default_notes_file = '~/orgfiles/refile.org',
     })
     EOF