본문 바로가기 메뉴 바로가기

졸려워요

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

졸려워요

검색하기 폼
  • 분류 전체보기 (30)
    • 개봉기 (4)
    • 아이폰 (0)
    • 잡담 (3)
    • OS (5)
      • FreeBSD (1)
      • Windows & IIS (2)
    • 생활 (2)
      • 맛집 (1)
    • 행사&이벤트 (1)
    • 게임 (2)
      • FQ4 (1)
  • 방명록

random colors (1)
vim 시작 시 임의(random) 컬러 스킴(color scheme)으로 설정하기

gvim을 사용하다가 몇가지 맘에는 컬러 스키마중에서 고민이 되더라구요. 그러다가 random colors vim 으로 검색을 했더니 짠 하고 나오는게 있더군요. 아래 코드를 vimrc 에 등록하고 gvim 을 다시 켜보면! 랜덤하게 색상이 변경되는 것을 볼 수 있습니다. " Create the comma-separated list of colorscheme files let s:colors = substitute(globpath(&runtimepath, 'colors/*.vim'), '\n', ',', 'g') if strlen(s:colors) " Count the number of color schemes let s:num = strlen(substitute(s:colors, '[^,]\+', ''..

개발/vim 2008. 10. 23. 16:36
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바