CSS preprocessor들을 찾아보다가, 충동적으로 Stylus로 가기로 했다. 이게 다 이 블로그 때문이다. 글이 무척이나 유혹적이었다.
1. Stylus 설치
이건 쉽다. 이미 나는 node.js가 설치되어 있으니
npm install -g stylus
이걸로 끝.
2. vim-stylus.vim 설치
문제는 내가 VIM에다가 이미 일종의 플러그인 모음집을 덧붙여 사용하고 있다는 건데, 이게 폴더 구성이 좀 복잡해서 새 플러그인 설치할 때마다 까먹고는 다시 찾아봐야 한다는 문제가 있다.;; 암튼,
cd ~/.vim_runtime/source_not_forked
git clone git://github.com/wavded/vim-stylus.git
git add vim-stylus
git commit -m "add vim-stylus plugin"
이렇게 하면 구성 끝. VIM에서도 Stylus를 쉽게.
Comments !