LUC1EL: BLOG

VIM 설정 .vimrc 파일 내용 본문

소프트웨어 개발/개발환경, 툴, 스크립팅

VIM 설정 .vimrc 파일 내용

LUC1EL 2011. 4. 8. 01:53
기본적인 나의 빔 환경설정 파일 매번 쓰기 귀찮 ;;

다운로드:

_vimrc


set nocp
set nu
set ruler
"-------------------------------"
"-- Encodings ------------------"
"-------------------------------"
set encoding=cp949
set fileencoding=utf-8
set fileencodings=utf-8,cp949

set ai
set sw=4
set ts=4
set bs=2

set autochdir 

syntax on
filetype on
filetype plugin on

colorscheme torte

inoremap <esc> <esc>:set imdisable<cr>
nnoremap i :set noimd<cr>i
nnoremap I :set noimd<cr>i
nnoremap a :set noimd<cr>a
nnoremap A :set noimd<cr>A
nnoremap o :set noimd<cr>o
nnoremap O :set	noimd<cr>O

"-------------------------------"
"-- Vim as IDE -----------------"
"-------------------------------"
let Tlist_Show_One_File = 1
let Tlist_Use_Right_Window = 1
let Tlist_Exit_OnlyWindow = 1
let Tlist_WinWidth = 35
"view function list only // case sensitive lowercase(Tlist->tlist)"
let tlist_php_settings = 'php;f:function' 
nnoremap <silent> <f4> :TlistToggle<cr>:Project<cr>

" CTRL + HJKL move cursor window "
nnoremap <silent> <c-h> <c-w>h<cr>
nnoremap <silent> <c-j> <c-w>j<cr>
nnoremap <silent> <c-k> <c-w>k<cr>
nnoremap <silent> <c-l> <c-w>l<cr>