Last active
March 22, 2023 04:57
-
-
Save realmovestar/e6c9def66b99fbfe109ee3935d67fedb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
syntax on | |
" normal 모드에서는 영어만 입력된다. | |
set noimdisable | |
set belloff=all | |
set nu " number - 줄번호 보여주기 | |
set rnu "relativenumber - 상대적 줄번호 | |
set ic " ignorecase - 검색할 때 | |
set ai " autoindent - 새줄을 시작할 때 현재 줄의 들여쓰기를 복사한다. | |
set si " smartindent - 보통 `ai`와 함께 사용. {, } 등을 쓸때 들여쓰기를 자동으로 해준다. | |
" `ci`를 적용하는 경우에는 `si`는 무시된다. | |
set hls " hlsearch - 검색 결과를 하이라이팅해준다. 끌때는 :noh | |
colors torte | |
set ff=unix | |
" backspace style | |
set bs=2 | |
set ruler | |
set laststatus=2 | |
set foldmethod=marker | |
map <F5> :source $MYVIMRC<CR> | |
imap <F5> <ESC>:source $MYVIMRC<CR>a | |
" 특정 기능이 있는 경우 설정을 한다. | |
" :help feature-list 로 확인가능하다. | |
if has("gui_macvim") | |
set transparency=15 " 투명도 설정. 값이 클수록 더 투명해진다. | |
set guifont=MonacoforPowerline:h13 | |
endif | |
" list of directory names for the swap file | |
if has('win32') | |
set dir=C:\Temp | |
set guifont=bitstream\ vera\ sans\ mono:h10:cHANGEUL:qANTIALIASED | |
else | |
set dir=/tmp | |
endif | |
if has('gui_running') | |
set lines=60 columns=140 | |
endif | |
"if has("clipboard") | |
" set clipboard+=unnamed | |
"endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment