vim 外掛的安裝
最近安裝vim 7.3,重新整理一下自己喜歡的外掛
1.ALign 外掛:
安裝很簡單:
vim Align.vba.gz
:so %
:q
注意要刪除舊的AlignMaps.vim檔案,不要map會衝突!
新的改名為AlignMapsPlugin.vim。
2.SQLUtilities 外掛
SQL utilities - Formatting, generate - columns lists, procedures for databases
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
修改; =>
加入:
noremapbx A="eyy:call CalcLines(0)
noremapbs A = "eyy:call CalcLines(0)
這樣可以直接獲得結果。
windows要修改,不然不能做乘法:
let str = escape (str, '*();&>修改為:
let str = escape (str, '();&>
7.increment.vim:
操作比原來複雜了,自己要再看看!
:helptags d:\tools\vim\vim73\doc
:help Inc
8.word_complete.vim
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
很老的外掛,現在很少使用了。
1.ALign 外掛:
安裝很簡單:
vim Align.vba.gz
:so %
:q
注意要刪除舊的AlignMaps.vim檔案,不要map會衝突!
新的改名為AlignMapsPlugin.vim。
2.SQLUtilities 外掛
SQL utilities - Formatting, generate - columns lists, procedures for databases
install details
Put
Put
Put
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
noremap
這樣可以直接獲得結果。
windows要修改,不然不能做乘法:
let str = escape (str, '*();&>修改為:
let str = escape (str, '();&>
7.increment.vim:
操作比原來複雜了,自己要再看看!
:helptags d:\tools\vim\vim73\doc
:help Inc
8.word_complete.vim
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
很老的外掛,現在很少使用了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-675771/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- vim外掛的安裝
- VIM 外掛安裝
- 如何安裝 Vim 外掛
- vim外掛 NERDTree安裝使用
- vim Vundle 外掛管理器的安裝
- vim實戰:外掛安裝(Vundle,NerdTree)
- Vim常用外掛安裝及配置方法
- vim外掛的安裝方式 -- vim註釋外掛和doxygen函式註釋生成外掛-ctrlp外掛-tabular等號對齊 外掛...函式
- 如何安裝最新的Vim8.2與Vim外掛管理器vim-plug
- 如何使用 Ansible 配置 Vim並安裝外掛
- 安裝Vim自動補全外掛YouCompleteMe
- VIM安裝NERDTree外掛顯示工程目錄
- [20170617]vim 8.0外掛安裝.txt
- ros環境搭建及vim-plug外掛安裝ROS
- vim的外掛SuperTab
- VIM安裝TagList外掛顯示檔案函式列表函式
- Redmine外掛的安裝與解除安裝,知識庫外掛安裝。
- Sublime Text3工具的安裝、破解、VIM功能vintage外掛教程
- Vim 外掛管理
- VIM外掛AutoClose
- vim外掛之Taglist
- 關於vim外掛
- 如何管理 Vim 外掛
- Vim外掛入門
- eclipse vim外掛Eclipse
- 剛安裝的sublime如何安裝外掛
- retdec 外掛安裝
- Elasticsearch外掛安裝Elasticsearch
- Eclipse外掛的安裝Eclipse
- [20131215]安裝vim外掛gundo.txt
- flash外掛怎麼安裝 電腦安裝flash外掛步驟
- 蘋果電腦ps外掛怎麼安裝,Mac上的ps外掛安裝教程蘋果Mac
- ATOM 安裝外掛
- ubuntu 常用外掛安裝Ubuntu
- php常用外掛安裝PHP
- Sublime安裝PlantUML外掛
- Sublime使用,安裝外掛
- Python 外掛安裝Python