[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出來了.
--//滑鼠選中也是一樣.
--//主要我自己已經習慣這樣操作,很難在改正過來.^_^ .在工作中還是小心再小心!!
--//如果你看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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20170617]vim 8.0外掛安裝.txt
- vim設定
- 在Windows下使用vim grep的正確姿勢Windows
- [20170617]vim中使用bc計算器.txt
- [20170617]vim中呼叫sqlplus.txtSQL
- VIM設定_vimrc
- windows下vim的使用問題Windows
- vim、gvim在windows下中文亂碼的終極解決方案Windows
- VIM設定_vimrc2
- Windows 下設定archive的問題WindowsHive
- 一次toad和plsql在64位windows下配置設定SQLWindows
- vim設定go語法高亮Go
- Windows下設定elacticsearch 訪問密碼Windows密碼
- 在windows上,Vim 與 SQL*Plus 結合使用WindowsSQL
- Vim auto-pairs設定選項AI
- 在linux下設定WWWServer(轉)LinuxServer
- 在Vim裡精通Vim
- Windows平臺下sbt的安裝設定Windows
- vim設定與系統剪下板互通
- Windows10下pip的配置檔案設定Windows
- Windows8系統下設定印表機共享Windows
- Windows下的虛擬主機設定全功略(轉)Windows
- windows下redis設定redis開機自啟動WindowsRedis
- 在UNIX、windows下讓ORACLE定時執行*.sql檔案WindowsOracleSQL
- Vim中設定括號自動補全
- Vim中輸入法與編碼設定
- MongoDB在Linux下常用優化設定MongoDBLinux優化
- 在windows下配置PostgreSQLWindowsSQL
- Windows下的matplotlib畫圖中文顯示設定Windows
- Windows下JAVA環境變數的設定祥解WindowsJava變數
- Windows10系統下鎖定螢幕超時的設定方法Windows
- 在Windows中密碼設定的幾個要點(轉)Windows密碼
- vim設定一鍵執行python程式碼Python
- 利用alias在Linux下設定命令別名Linux
- 設定windows系統下的tomcat開機自啟WindowsTomcat
- 使用DOS命令(指令碼)在Windows 下建立使用者和組以及設定其許可權指令碼Windows
- Vagrant 在 Windows 下的使用Windows
- 在Windows下編譯WebRTCWindows編譯Web