diff --git a/.vim/startup/map_vimrc b/.vim/startup/map_vimrc index 7bfc3fd..1a0ed41 100644 --- a/.vim/startup/map_vimrc +++ b/.vim/startup/map_vimrc @@ -19,9 +19,15 @@ map to :tabonly map tc :tabclose " visual mode copy and paste to system clipboard -vmap "+y -vmap "+c -vmap "+p +"vmap "+y +"vmap "+c +"vmap "+p + +" 将VIM中将内容复制到系统粘贴板,或者从系统粘贴板粘贴到VIM +nnoremap "+y +vnoremap "+y +nnoremap "+gP +vnoremap "+gP function! Xml() set filetype=xml diff --git a/.vimrc b/.vimrc index db34b1d..b4fd430 100644 --- a/.vimrc +++ b/.vimrc @@ -22,8 +22,8 @@ else source $HOME/.vim/startup/plugin_vimrc endif -source $VIMRUNTIME/vimrc_example.vim -source $VIMRUNTIME/mswin.vim +" source $VIMRUNTIME/vimrc_example.vim +" source $VIMRUNTIME/mswin.vim """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => General @@ -61,7 +61,7 @@ if g:iswindows endif " 如下命令使鼠标用起来象微软 Windows -behave mswin +" behave mswin " 高亮整行 set cursorline