Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Install_Vim_Plugin

Edward Delaporte edited this page Dec 13, 2014 · 1 revision

Installation as a Vim plugin

You can use minion in the command line as well as in VIM, just be sure to keep your configuration files set to one method!

This plugin is packaged for use with Vundle. This plugin requires Vim to be compiled with Python support.

  1. Install Vundle and then add edthedev/minion to your .vimrc:

    Bundle 'edthedev/minion'
    
  2. Then, from within Vim, run BundleInstall:

    :BundleInstall
    
  3. Copy and set .minion file accordingly:

    mv ~/.vim/bundle/minion/DOTminion ~/.minion
    
  4. Edit ~/.minion to set your notes directory.

    [notes]
    home = ~/Documents
    
  5. Optionally, edit ~/.minion to modify the default editor, templates, and text file extension.

    [compose]
    templates = /Users/edward/.vim/bundle/minion/plugin/../templates
    extension = .md
    editor = vim
    
  6. Change the MINION_INSTALL variable to $HOME/.vim/bundle/minion in ~/.vim/bundle/minion/add_to_your_profile.

  7. Configure your shell:

    • bash/zsh/sh:

      Add the following to your profile (e.g. ~/.bashrc):

       source ~/.vim/bundle/minion/add_to_your_profile
    • fish:

      Add the following to your ~/.config/fish/config.fish

       set -x MINION_INSTALL $HOME/.vim/bundle/minion
       
       if [ -d "$MINION_INSTALL" ]
       	set -x PATH $MINION_INSTALL $PATH
       end
       
       # Some optional aliases, to get started.
       # Uncomment the ones you want.
       alias mn="minion"
       # alias icannotfind="minion open --archive --full"
       # alias newnote="minion note"
       # alias open="minion open"
       # alias remind="minion remind"
       # alias summary="minion summary" 
       # alias favorites="minion favorites"

Clone this wiki locally