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
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- 145,205
- Today
- 3
- Yesterday
- 2
TAG
- vc++
- 크롬캐스트
- GanttCalendar
- GVim
- syntaxhighlight
- LOG_FILE_MAX_SIZE_TRUNCATE
- win2k8
- gantt
- apache22
- 샤오이
- FreeBSD
- 실패한요청규칙추적
- iis7
- ignore pattern
- 아이폰
- 小蚁智能摄像机
- 小蚁
- GanttChart
- 무시 패턴
- FREB
- php
- 小米
- 스마트웹캠
- 샤오미
- 컬러스킴
- Natural Ergonomic Desktop 7000
- random colors
- VIM
- chromecast
- 아이폰가죽케이스