'vimrc'에 해당되는 글 2건

  1. 2008/06/14 gvim 에서 color scheme 저장하기
  2. 2007/12/01 내 vimrc 파일
2008/06/14 13:51

gvim 에서 color scheme 저장하기

gvim에서는 테마 비슷한 걸로 color scheme을 지정할 수가 있다.

메뉴에서 [편집]-[컬러 스킴]에 보면 다양한 컬러셋을 볼 수가 있는데, 나같은 경우 murphy가 눈도 가장 편하고 안정적이다.

그런데 종료하면 이 설정도 날라간다는 것.

다른 설정처럼 이것도 설정파일
리눅스: ~/.vimrc
윈도우: _vimrc
에 저장해 두자.

먼저 컬러 스킴은
리눅스: /usr/share/vim/current/colors/
윈도우: Program Files/vim/vimxx/colors/
에 *.vim 이란 파일명으로 있다.

맘에 드는 이름을 vimrc 설정파일을 열어
colorscheme murphy
라고 써주고 저장하면 된다.
이 글과 관련된 글
받은 트랙백이 없고 댓글이 없습니다.

트랙백 : http://blog.edple.com/trackback/834

2007/12/01 00:47

내 vimrc 파일

2008. 12. 01 수정해서 올림.

syntax on
if v:lang =~ "^ko"
  set encoding=cp949
  set fileencodings=utf-8,cp949
  set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-*
elseif v:lang =~ "^ja_JP"
  set fileencodings=euc-jp
  set guifontset=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*
elseif v:lang =~ "^zh_TW"
  set fileencodings=big5
  set guifontset=-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1,-taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0
elseif v:lang =~ "^zh_CN"
  set fileencodings=gb2312
  set guifontset=*-r-*
endif
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
  set encoding=utf-8
  set fileencodings=utf-8,cp949
endif

filetype indent on
filetype plugin on

set ruler
set history=999
set backspace=indent,eol,start
set hlsearch
set bg=dark
colorscheme murphy
set guifont=Andale\ Mono\ 12

set ignorecase
set ts=4
set sw=4
set sts=4
set autoindent
set cindent
set smartindent
set nu
set nobackup
set nocompatible
set sc
set sm
set ic
set ls=2
set wmnu
set scrolloff=2
filet on

map <F8> :w!<CR>
map <F9> :!clear;latex % <CR>
map <F10> :!clear;dvipdfmx % <CR>
map <F11> :!clear;kpdf % <CR>


다운받기:

이 글과 관련된 글
받은 트랙백이 없고 댓글이 없습니다.

트랙백 : http://blog.edple.com/trackback/291