vim外掛的安裝
最近安裝vim 7.3,重新整理一下自己喜歡的外掛
1.ALign 外掛:
http://www.vim.org/scripts/script.php?script_id=294
http://www.vim.org/scripts/download_script.php?src_id=10110
安裝很簡單:
vim Align.vba.gz
:so %
:q
注意要刪除舊的AlignMaps.vim檔案,不要map會衝突!
新的改名為AlignMapsPlugin.vim。
2.SQLUtilities 外掛
SQL utilities – Formatting, generate – columns lists, procedures for databases
http://vim.sourceforge.net/scripts/script.php?script_id=492
http://vim.sourceforge.net/scripts/download_script.php?src_id=13576
install details
Put into your .vim/plugin or vimfiles/plugin directory.
Put into your .vim/autoload or vimfiles/autoload directory.
Put into your .vim/doc or vimfiles/doc directory, run :helptags $VIM/vimfiles/doc.
3.ClosePairs 外掛
Auto closes pairs of characters
安裝很簡單,拷貝到plugin目錄。
4.surround 外掛
Delete/change/add parentheses/quotes/XML-tags/much more with ease
install details
Extract to ~/.vim, or ~vimfiles (Windows). You`ll need to regenerate helptags (fill in the install path below)
:helptags ~/.vim/doc
具體要看它的使用文件surround.txt。
ds = Delete surroundings is *ds* .
cs = Change surroundings is *cs* . It takes two arguments, a target like with
|ds|, and a replacement. Details about the second argument can be found
below in |surround-replacements|. Once again, examples are in order.
ys = *ys* takes a valid Vim motion or text object as the first object, and wraps
it using the second argument as with |cs|. (Unfortunately there`s no good
mnemonic for “ys”.)
As a special case, *yss* operates on the current line, ignoring leading
whitespace.
特點比較複雜,而ClosePairs插入很簡單。
5.calendar.vim
顯示日曆
6.bccalc.vim : evaluate equations within vim
修改; =>
加入:
noremap bx A=”eyy:call CalcLines(0)
noremap bs A = “eyy:call CalcLines(0)
這樣可以直接獲得結果。
windows要修改,不然不能做乘法:
let str = escape (str, `*();&>修改為:
let str = escape (str, `();&>
7.increment.vim:
http://www.vim.org/scripts/script.php?script_id=842
http://www.vim.org/scripts/download_script.php?src_id=7541
操作比原來複雜了,自己要再看看!
:helptags d: oolsvimvim73doc
:help Inc
8.word_complete.vim
http://www.vim.org/scripts/script.php?script_id=73
http://www.vim.org/scripts/download_script.php?src_id=6504
To activate, choose “Word Completion” from the Tools menu, or type
:call DoWordComplete()
To make it stop, choose “Tools/Stop Completion,” or type
:call EndWordComplete()
If you want to activate word completion for every buffer, add the line
:autocmd BufEnter * call DoWordComplete()
我修改了:
let g:WC_min_len = 3
9.cream-capitalization.vim
As long as you don`t already have keyboard mappings to the F5 key,
these keyboard shortcuts will now be available:
F5 Capitalize selection, title case
Shift+F5 Uppercase selection
Alt+F5 Lowercase selection
Ctrl+F5 Reverse case of selection
很老的外掛,現在很少使用了。
相關文章
- 如何安裝 Vim 外掛
- vim外掛 NERDTree安裝使用
- vim實戰:外掛安裝(Vundle,NerdTree)
- Vim常用外掛安裝及配置方法
- 如何使用 Ansible 配置 Vim並安裝外掛
- 如何安裝最新的Vim8.2與Vim外掛管理器vim-plug
- ros環境搭建及vim-plug外掛安裝ROS
- Vim 外掛管理
- 剛安裝的sublime如何安裝外掛
- vim外掛之Taglist
- retdec 外掛安裝
- ATOM 安裝外掛
- Elasticsearch外掛安裝Elasticsearch
- [20220316]完善vim gdb.vim外掛.txt
- flash外掛怎麼安裝 電腦安裝flash外掛步驟
- AU如何安裝vst外掛?Audition話放外掛vst的安裝圖文教程
- Eclipse安裝lombok外掛及外掛使用案例EclipseLombok
- Sublime安裝PlantUML外掛
- eclipse 安裝svn外掛Eclipse
- ubuntu 常用外掛安裝Ubuntu
- VS Code外掛安裝
- 安裝Jenkins常用外掛Jenkins
- php常用外掛安裝PHP
- IDEA安裝Scala外掛Idea
- [20190909]完善vim的bccacl外掛.txt
- 關於vim的實用外掛
- [20200424]vim visSum.vim合計外掛.txt
- 蘋果電腦ps外掛怎麼安裝,Mac上的ps外掛安裝教程蘋果Mac
- jmeter下載安裝及外掛安裝JMeter
- 安裝ps 並安裝免費外掛
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- python vim外掛是什麼Python
- ESLint、Prettier外掛的安裝與使用EsLint
- Mac 下 brew的解除安裝 外掛Mac
- 安裝nginx-kafka外掛NginxKafka
- VScode一鍵安裝外掛VSCode
- Chrome安裝json view外掛ChromeJSONView
- Atom安裝炫酷外掛
- Eclips中安裝Git 外掛Git