vim 插件的安装

简介: 最近安装vim 7.3,重新整理一下自己喜欢的插件1.ALign 插件:http://www.vim.org/scripts/script.php?script_id=294http://www.vim.org/scripts/download_script.php?src_id=10110安装很简单:vim Align.vba.gz:so %:q 注意要删除旧的AlignMaps.vim文件,不要map会冲突!新的改名为AlignMapsPlugin.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:\tools\vim\vim73\doc

: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

很老的插件,现在很少使用了。











 
目录
相关文章
|
3月前
|
XML IDE 开发工具
别看你风吹头顶凉但你绝对没有过这样方便的插件Intellij IDEA 自带的 Vim
别看你风吹头顶凉但你绝对没有过这样方便的插件Intellij IDEA 自带的 Vim
103 0
|
11月前
|
缓存 Ubuntu Linux
Vim编辑器入门指南:安装、基本操作和高级技巧详解 | 适用于Linux系统
Vim编辑器入门指南:安装、基本操作和高级技巧详解 | 适用于Linux系统
576 0
|
9月前
|
Linux 开发工具
什么是Vim,Vim安装
Linux 系统中“一切皆文件”,因此当我们在命令行下更改文件内容时,不可避免地要用到文本编辑器。作为一名 Linux 初学者,你必须熟练掌握 Linux 中至少一款文本编辑器的用法。对文本编辑器的功能(如查找、剪切和粘贴)了解越多,对你越有帮助。可供选择的编辑器不止一种,例如 Vim、emacs、pico、nano 等,很多人都找到了自己所喜爱的编辑器。综合考虑各种因素,本套 Linux 教程建议初学者学习 Vim 文本编辑器。Vim文本编辑器,是由 vi 发展演变过来的文本编辑器,因其具有使用简单、功能强大、是 Linux 众多发行版的默认文本编辑器等特点,成功圈住了很多人成为其死忠粉丝。
64 4
|
9月前
|
JSON Linux 开发工具
Linux jq 、vim以及LInux集群安装miniconda并配置虚拟环境(笔记)
Linux jq 、vim以及LInux集群安装miniconda并配置虚拟环境(笔记)
79 0
|
3月前
|
Linux 程序员 开发工具
最强文本编辑器 VIM 获取与安装
最强文本编辑器 VIM 获取与安装
|
3月前
|
Ubuntu 开发工具
百度搜索:蓝易云【Ubuntu安装vim教程】
现在,你已经成功在Ubuntu上安装了Vim编辑器。你可以在终端中运行 `vim`命令来启动Vim,并开始编辑文本文件。
71 2
|
Ubuntu Linux 开发工具
嵌入式Linux开发环境搭建之四----Vim的安装
嵌入式Linux开发环境搭建之四----Vim的安装
75 0
|
JavaScript 搜索推荐 Linux
【vim && neovim】从入门到放弃(“四种”模式、常用命令、正则表达式、文件属性、插件安装--代码补全、一键格式化、显示目录)(二)
本文所有操作均通过ssh连接腾讯云服务器完成。如果你正在使用安装GNOME桌面的Linux,很多操作可以通过鼠标完成,或许更加直观。 推荐使用neovim(结合鼠标操作更加丝滑)。
【vim && neovim】从入门到放弃(“四种”模式、常用命令、正则表达式、文件属性、插件安装--代码补全、一键格式化、显示目录)(二)
|
API 开发工具 开发者
vim插件开发之python-helloworld插件
vim插件开发之python-helloworld插件
111 0