今回の変更で set clipboard+=unnamed のオプションを追加
"
" This file (.vimrc) is modified on 2012/1/18
"
set number " to display lines
set title " display filename on the title bar
set ignorecase " search not casesensitively
set showmatch " hilight a pair of parenthesis and braces
set matchtime=2 " limit the showmatch's hilight time, ms
set wildmenu " compliment vim's commandline instructions
set softtabstop=4
set expandtab
set autoindent " Enable autoindent
set ruler " Ruler on
if has("gui_running")
colorscheme oceandeep
set clipboard+=unnamed " Yanks to clipboard
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
autocmd FileType ruby,eruby set tabstop=2
autocmd FileType ruby,eruby set shiftwidth=2
autocmd FileType ruby,eruby set softtabstop=2
endif
No comments:
Post a Comment