카테고리 없음

Emacs의 Orrg-mode를 vim에서도? Vim-orgmode

seul chan 2020. 6. 14. 17:34

Vim org-mode

vim org mode kor

나는 Emacs를 써 본 적이 없다. (사실 쓰는 사람도 딱 한 명을 제외하고는 본 적이 없다. 해외로 나간 그 분은 잘 지내시는지..) 하지만 Emacs의 많은 모드에 대해서는 들어본 적이 있다. 그 중에서도 org 모드는 todo list 등 모든 기록을 Emacs로 해 줄 수 있게 하는 모드이다.

vim-orgmode는 이런 orgmode를 vim에서 사용할 수 있게 해 주는 모드이다.

Org mode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.

I use vim when write almost every texts such as daily todo, blogs, and even life plan.
For now, I'm using vimwiki for blogs and diary. I will post the usage and tips for vimwiki someday. In this post, I will introduce about vim-orgmode. It's a vim plugin based on Emacs' org-mode.

  • There's this guide but I figured out it's hard to read for beginners. So I made a simple tutorial

Tutorial

Install

I currently use Plug, so add plugin with plug.

Plug 'jceb/vim-orgmode'

For other plugin, follow below

  • dein.vim :
call dein#add('jceb/vim-orgmode')
  • pathogen
cd ~/.vim/bundle && \
git clone https://github.com/jceb/vim-orgmode.git
  • With the package feature of Vim 8, it is a bit more involved. Run the following in your terminal
mkdir -p ~/.vim/pack/git-plugins/start
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/jceb/vim-orgmode

And add below in your $VIMRC (~/.vimrc)

packloadall
silent! helptags ALL

Usage

Vim-org activates in .org file. So first, make mylife.org with vim

vim mylife.org

2020-06 기준: 현재는 다시 vim-wiki를 쓰고있다. 가볍고 간단하기고 하고, 실제로 org에서 제공하는 많은 기능을 사용하지 못하는 것 같아서이다.