Skip to content

Latest commit

 

History

History
74 lines (69 loc) · 1.88 KB

File metadata and controls

74 lines (69 loc) · 1.88 KB

Installation

Installation methods

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

  1. lazy.nvim (Recommended)
    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,
    }
        
  2. vim.pack (Available only in Neovim 0.12+)
    vim.pack.add({
      { src = 'https://github.com/nvim-orgmode/orgmode '}
    })
    require('orgmode').setup({
      org_agenda_files = '~/orgfiles/**/*',
      org_default_notes_file = '~/orgfiles/refile.org',
    })
    -- Experimental LSP support
    vim.lsp.enable('org')
        
  3. pckr.nvim
    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
    Plug 'nvim-orgmode/orgmode'
    
    lua << EOF
    require('orgmode').setup({
      org_agenda_files = '~/orgfiles/**/*',
      org_default_notes_file = '~/orgfiles/refile.org',
    })
    EOF
        
  5. dein.vim
    call dein#add('nvim-orgmode/orgmode')
    
     lua << EOF
     require('orgmode').setup({
       org_agenda_files = '~/orgfiles/**/*',
       org_default_notes_file = '~/orgfiles/refile.org',
     })
     EOF
        

Useful links