정태영

언제나 일어나서 뉴스 사이트와 자주 출몰하던 커뮤니티 사이트를 돌고 나면 http://packages.gentoo.org 에 들려서 오늘은 또 어떤 패키지들이 올라왔는지를 살펴보곤 합니다. 그러다가 오늘 또 왕건이 하나를 건졌네요.

closetag 는 vim 에서 html 혹은 xml 문서 작업을 할 때 현재 닫힐 차례인 tag를 ctrl - 단축키를 통해 간단하게 입력할 수 있도록 도와주는 플러그인 입니다.


‘emerge closetag’ 를 통해 설치를 하고 난 다음 vim 을 띄우고

<html> blahblah Ctrl-_

를 누르니 마법처럼 </html> 가 입력됩니다… self close tag 가 들어갔을 때 정상적으로 동작을 할까 싶어서 테스트를 해봤더니…

<html> blahblah <img /> Ctrl-_

역시나 마법처럼 </html> 가 입력되는게 아주 만족 스럽군요 :D 알아갈 수록 아름다운 vim 세상입니다…

젠투 유져는 아니지만 관심있으실 분들을 위해 홈페이지 링크를 :)
http://www.vim.org/scripts/script.php?script_id=13

p.s) 메뉴얼에는 컨트롤, _ 로 되어 있지만 실제로는 컨트롤, - 조합으로도 정상적으로 잘 동작합니다.

Tags: ,

This entry was posted on Tuesday, September 13th, 2005 at 4:44 pm and is filed under OpenSource. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

8 Responses to “vim plugin: close tag”

  1. SednA Says:

    무플방지 위원회에서 나왔습니다….. … …

  2. 희정냥★ Says:

    헉…

  3. bass1ife Says:

    우헐…그야말로 life-changing tip입니다. ㅠㅠ

  4. 정태영 Says:

    키킥 대게 편하죠? 써보고 감동 먹었어요 -_ㅜ

  5. luark Says:

    와. 좋은 프로그램 소개 감사합니다.

  6. luark Says:

    트랙백이 안되는군요;;
    http://blog.kashel.net/tt/index.php?pl=279

  7. iceglow Says:

    vim 편하게 써보려고 찾다 찾다 찾았군요..ㅎ

  8. Jayce Says:

    What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

Leave a Reply