[20170617]vim在windows下guioption设置

[20170617]vim在windows下guioption设置.txt

--//如果你看mswin.vim设置:
" On Unix we have two selections, autoselect can be used.
if !has("unix")
  set guioptions-=a
endif

--//缺省设置是取消a设置,查看帮助:

 'a'    Autoselect:  If present, then whenever VISUAL mode is started,
        or the Visual area extended, Vim tries to become the owner of
        the windowing system's global selection.  This means that the
        Visually highlighted text is available for pasting into other
        applications as well as into Vim itself.  When the Visual mode
        ends, possibly due to an operation on the text, or when an
        application wants to paste the selection, the highlighted text
        is automatically yanked into the "* selection register.
        Thus the selection is still available for pasting into other
        applications after the VISUAL mode has ended.
            If not present, then Vim won't become the owner of the
        windowing system's global selection unless explicitly told to
        by a yank or delete operation for the "* register.
        The same applies to the modeless selection.

--//实际上修改:
" On Unix we have two selections, autoselect can be used.
if !has("unix")
  set guioptions+=a
endif

--//可以减少一些键盘操作,但是要冒一些操作风险,就是copy  & paste带来的维护问题.
--//在windows 下 V 或者 v, ctrl_v(windows下使用ctrl+q代替,主要是windows下这个定义为paste了).
--//只要选中,就进入剪切板,再按ctrl+v就paste出来了.

--//鼠标选中也是一样.

--//主要我自己已经习惯这样操作,很难在改正过来.^_^ .在工作中还是小心再小心!!



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/267265/viewspace-2140892/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/267265/viewspace-2140892/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值