- 浏览: 473824 次
- 性别:
- 来自: 湖南
文章分类
- 全部博客 (201)
- j2ee (43)
- oracle (9)
- mysql (7)
- db2 (1)
- j2se (3)
- spring (1)
- hibernate (3)
- struts (0)
- Berkeley DB (0)
- linux (60)
- Apache2+PHP+MYSQL (2)
- solr (15)
- svn (1)
- IntelliJ Idea (1)
- eclipse,myeclipse (4)
- ant (2)
- vim (8)
- IT生活 (4)
- 测试 (6)
- lucene (4)
- shell (1)
- nutch (18)
- thread (1)
- hadoop (5)
- mapreduce (0)
- Python (4)
- 硬件 (1)
- database (1)
- maven (1)
- 正则表达 (0)
- 互联网 (1)
最新评论
-
youngcoder:
good job
HTTP协议头部与Keep-Alive模式详解 -
javazdq:
受教了 解释的不错。
lucene创建索引高级特性和索引创建参数优化 -
josico:
有几个问题想问下楼主1. LinkedBlockingQueu ...
生产者-消费者-BlockingQueue -
annybz:
有没有关于 BlockingQueue和ConcurrentL ...
生产者-消费者-BlockingQueue -
uniquejava:
多谢,记录的很真实。
DB2 学习记录
BufExplorer
(1) [ 插件的名称 ]
BufExplorer
(2) [ 插件的功能 ]
方便切换 buffer,切换 buffer 后列表自动关闭。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=42
(4) [ 备注或特别提醒 ]
装完后 Normal mode 下输入 \be 即可打开这个列表,
光标放在某一个文件上按回车可以打开这个文件。
(5) [ 推荐人id ]
Dieken
[编辑] Taglist
(1) [ 插件的名称 ]
Taglist
(2) [ 插件的功能 ]
实现类或者函数列表功能,支持 C/C++, Java, Perl, Python,
TCL, SQL, PHP 等语言,它可以在VIM中创建一个窗口,列出编辑的源文件中的类、函数、变量定义列表,而且更方便的是这个列表 也插入在了右键菜单中,分类存放,访问非常方便。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=273
(4) [ 备注或特别提醒 ]
依赖于 Exuberant Ctags,可以在 http://ctags.sourceforge.net 下载。
(5) [ 推荐人id ]
Dieken
[编辑] word_complete
(1) [ 插件的名称 ]
word_complete
(2) [ 插件的功能 ]
Insert模式下在输入的时候自动补全单词,如果补全正确可以按Tab键接受,否则可以不管它继续输入或者按Ctrl-n, Ctrl-p切换补全。 注意是输入三个字符后才开始补全。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=73
(4) [ 备注或特别提醒 ]
在 工具 菜单中选择 Word completion 开启这个功能。
(5) [ 推荐人id ]
Dieken
[编辑] Sketch
(1) [ 插件的名称 ]
Sketch
(2) [ 插件的功能 ]
在 VIM 里头画 ASCII 图,支持填充,剪切,拷贝等,非常有创意。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=705
(4) [ 备注或特别提醒 ]
Draw with mouse: boxes, arrows, lines, fills.
Transparent/opaque drag and drop.
(5) [ 推荐人id ]
Dieken
[编辑] DrawIt
(1) [ 插件的名称 ]
DrawIt
(2) [ 插件的功能 ]
方便的画连线图。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=40
(4) [ 备注或特别提醒 ]
(5) [ 推荐人id ]
Dieken
[编辑] Mark
(1) [ 插件的名称 ]
Mark
(2) [ 插件的功能 ]
同时高亮显示多次搜索结果,这个特性非常有利于显示代码中某些变量或函数的调用位置。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=1238
(4) [ 备注或特别提醒 ]
类似的还有:
MultipleSearch http://www.vim.org/scripts/script.php?script_id=479
MultipleSearch2 http://www.vim.org/scripts/script.php?script_id=1183
otf http://www.vim.org/scripts/script.php?script_id=634
(5) [ 推荐人id ]
Dieken
[编辑] SearchComplete
(1) [ 插件的名称 ]
SearchComplete
(2) [ 插件的功能 ]
用 / 或者 ? 搜索时按 tab 补全要搜索的单词。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=474
(4) [ 备注或特别提醒 ]
(5) [ 推荐人id ]
Dieken
[编辑] vcscommand
(1) [ 插件的名称 ]
vcscommand
(2) [ 插件的功能 ]
集成 cvs 和 svn 到 vim 中,可以在 vim 中看 log,diff,annotate,commit 等等。需要安装 cvs 和 svn 的命令行版本。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=90
(4) [ 备注或特别提醒 ]
(5) [ 推荐人id ]
Dieken
[编辑] switchtags
(1) [ 插件的名称 ]
switchtags
(2) [ 插件的功能 ]
根据当前编辑文件的全路径名切换 tags 选项,这样就可以 在 vim 中同时查看多个项目的代码时 Ctrl-] 不会互相串。
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=1344
(4) [ 备注或特别提醒 ]
老早以前写的,也许有点用,推荐一下。需要Perl 插件支持(官方提供的 gvim70.exe 包含这个)。
(5) [ 推荐人id ]
Dieken
[编辑] ccal.rb
(1) [ 插件的名称 ]
ccal.rb
(2) [ 插件的功能 ]
Add Chinese lunar calender functionality to calendar.vim
(3) [ 插件的下载地址 ]
本版文章号:8906(若有变,请搜索版面)
(4) [Appendix]
- Feature
Support 200 years(1900-2100) lunar calendar calculation
- Requirements:
vim-ruby interface (For WinXP, if you do not wish to install Ruby, just put msvcrt-ruby18.dll in PATH)
- Usage:
a) put ccal.rb in $VIM/vimfiles/plugin dir
b) Add following lines in .vimrc
c) Open calendar window via :Calendar or :CalendarH, place cursor on a date,
press 'gc'
"------------------------------------------------------------ " Lunar calendar function for calendar.vim plugin "------------------------------------------------------------ function! s:GetLunarDate(day, month, year, week, dir) ruby << EOF $:.unshift(VIM::evaluate("expand('$VIM/vimfiles/plugin')")) require 'ccal' d, m, y = VIM::evaluate("a:day").to_i, VIM::evaluate("a:month").to_i, VIM::evaluate("a:year").to_i cc = Calendar::ChineseCalendar.new(y, m, d) # print the pretty date text season_color = case m when 12, 1, 2: 'AliceBlue' # winter white when 3..5: 'MediumSpringGreen' # spring green when 6..8: 'DeepSkyBlue1' # summer night when 9..11: '#eec080' # autumn gold end
VIM::command("highlight DateColor gui=none guifg=#{season_color}") VIM::command("echohl DateColor | echo '#{cc.chinese_format}' | echohl None") EOF endfunction
"------------------------------------------------------------ " customize calendar action "------------------------------------------------------------ function! s:CalendarDoCustom(action) let l:tmpvar = g:calendar_action let g:calendar_action = a:action exe "normal \<CR>" let g:calendar_action = l:tmpvar endfunction
" Use the following format to map new calendar actions autocmd BufNewFile __Calendar nmap <buffer><silent>gc :call <SID> CalendarDoCustom("<SID>GetLunarDate")<CR>
* Screenshot 附件
* Only tested on WinXP
[编辑] Viki/Deplate
(1) [ 插件的名称 ]
Viki/Deplate
(2) [ 插件的功能 ]
This plugin adds wiki-like hypertext capabilities to Vim. You can use viki as a "minor" mode (i.e., as an add-on to any other mode) or as a full-fledged wiki mode. There is also an add-on plugin for "
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=861
[编辑] NERD_tree
(1) [ 插件的名称 ]
NERD_tree
(2) [ 插件的功能 ]
The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse.
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=1658
(4) [ 备注或特别提醒 ]
The following features and functionality are provided by the NERD tree:
- Files and directories are displayed in a hierarchical tree structure
- Different highlighting is provided for the following types of nodes:
- files
- directories
- sym-links
- windows .lnk files
- read-only files
(5) [ 推荐人id ]
runsnake
[编辑] FencView.vim
(1) [ 插件的名称 ]
fencview.vim
(2) [ 插件的功能 ]
我就来推荐一下我自己的插件^_^新版本完善以后就会更新到vim.org
FencView.vim : View a multi-byte encoded file in different encodings.
script karma Rating 30/12, Downloaded by 139
created by Ming Bai
script type utility
description Install: Copy FencView.vim to your plugin directory. Usage: Select a encoding from the Tools/Encoding menu just like what you did in Firefox/IE or you can use ":FencView" command to open the encoding list window and "Enter" key to select the encoding under cursor to reload the file. ScreenShot:
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=1708
(4) [ 备注或特别提醒 ]
(5) [ 推荐人id ]
mbbill
[编辑] matrix
(1) [ 插件的名称 ]
matrix
(2) [ 插件的功能 ]
是的,说的就是电影 Matrix!Vim 的脚本并不是都干“正经事”的
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=1189
(4) [ 备注或特别提醒 ]
想看一下电影里那些酷酷的字符在 Vim 的窗口里翻滚吗? 发一个命令“:Matrix”即可按任意键退出
(5) [ 推荐人id ]
runsnake
[编辑] taglist
(1) [ 插件的名称 ]
taglist
(2) [ 插件的功能 ]
程序员必备插件
(3) [ 插件的下载地址 ]
本版文章号:8911(若有变动,请搜索本版)
(4) [ 备注或特别提醒 ]
附件taglist跟原版taglist几乎一模一样,不过允许用户自定义一个filter, 把要显示的tag name修改一下。filter的原形是FilterName(filetype, tagname), 返回值作为显示在taglist窗口中的标签。起因是我在用taglist查看Java native 函数时,由于Java native函数名是Java_packagename_ClassName_methodName的形式, 名称太长,在taglist窗口里看不到实际的函数名,于是就做了点手脚,把tag名字处 理了一下。
* 示例: 前述的filter可以定义为如下,放在vimrc中:
function! TagNameFilter(ft, tag) let l:newtag = a:tag " Filter the Java native method names, remove package qualification. " (change Java_some_package_ClassName_methodName to ClassName_methodName) if a:ft == 'c' && a:tag =~ 'Java_\(\w\+_\)\+' let l:reserve_classname = 1 " indicate we need class name let l:pad = matchstr(a:tag, '^\s*') " leading space is required by taglist let l:idx = strridx(a:tag, '_') if l:reserve_classname let l:idx = strridx(a:tag, '_', l:idx - 1) endif
let l:newtag = l:pad . strpart(a:tag, l:idx + 1) endif
return l:newtag endfunction
" if g:tag_name_filter is not set, fall back to default filter let g:tag_name_filter = "TagNameFilter"
[编辑] Tetris
(1) [ 插件的名称 ]
Tetris
(2) [ 插件的功能 ]
俄罗斯方块游戏
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=172
(4) [ 备注或特别提醒 ]
呵呵,玩到100分就算很不错了。\te开始游戏,尽量不要在gui模式下玩
(5) [ 推荐人id ]
vimmer
[编辑] BlockComment
(1) [ 插件的名称 ]
BlockComment
(2) [ 插件的功能 ]
块注释插件,几乎是原插件的重写
(3) [ 插件的下载地址 ]
本版文章号:8914(若有变动,请搜索本版)
(4) [ 备注或特别提醒 ]
* Usage \c Comment (linewise/blockwise) \v UnComment (linewise/blockwise) \b UnCommentBlock (Uncomment the whole commented block) \d DeleteComment (Delete whole commented block) \j Javadoc style Comment (No command to uncomment it yet)
It is easy to add new comment type, see CommentStr function in BlockComment.vim
* Example The \v command allows user uncomment part of a commented block: /*--------- /*--------- * line1 * line1 * line2 place cursor on line2, => *---------*/ * line3 press \v line2 uncommented line2 *---------*/ /*--------- * line3 *---------*/
[编辑] number marks in color
(1) [ 插件的名称 ]
number marks in color
(2) [ 插件的功能 ]
这个脚本显示用带颜色的数字标明的marks,并且向前或者向后移动。可以保存到文件,下次可以重现原来在多个文件里面的marks。 比较清晰显示你标记的代码在前后的位置,有数字嘛!
(3) [ 插件的下载地址 ]
http://www.vim.org/scripts/script.php?script_id=2194
(4) [ 截图]
(5) [ 推荐人id ]
corey,我自己写的,不好的地方希望能得到改进!
发表评论
-
ifstat命令行统计网络流量
2012-06-05 15:31 5427关于统计网络流量的问题,我喜欢用命令行方式查看: ... -
CentOS 5: Make Command not Found
2012-05-22 17:50 1342个人博客:http://demi-panda.com ... -
Linux Deepin 安装永中 Office2012 个人版(更新)
2012-05-18 19:41 1466下面讲解如何在 Linux Deepin 上安装并使用永中 O ... -
Piwik 网站分析系统
2012-04-25 15:38 2909个人博客:http://demi-panda.com ... -
C3P0使用出错!
2012-04-18 21:43 2022个人博客:http://demi-panda.com/ ... -
win7、ubuntu11.10双系统,win7重装后,如何找回linux
2012-03-25 18:40 1344个人博客:http://demi-panda.com ... -
stardict 词库安装
2012-03-22 11:32 1442下载词库文件以后直接在目录下执行 tar -xjvf ... -
ubuntu 64位 安装 永中Office
2012-03-21 11:07 0Ubuntu 64位默认是不能安装永中Office的,因为它不 ... -
is not in the sudoers file
2012-02-15 17:23 1038解决方案: 首需要切换到root身份 $su - (注意 ... -
is not in the sudoers file
2011-12-22 14:00 947解决方案: 首需要切换到root身份 $su - (注意 ... -
进程间通信IPC、LPC、RPC
2011-05-25 15:12 2018进程间通 ... -
ubuntu下virtualbox虚拟机XP里使用USB
2011-05-19 09:25 2455环境:ubuntu10.04下安装virualbox,虚拟 ... -
Shell 判断文件类型
2011-05-11 15:45 3640#!/bin/sh ... -
Linux wget 详解
2011-05-07 16:05 4610个人技术博客:http://dem ... -
linux curl命令详解
2011-04-30 15:36 5960个人技术博客:http://demi-panda.com ... -
解决Socket TIME_WAIT造成的服务器无法访问,Apache的KeepAlive和TCP/IP的TIME
2011-04-20 11:19 4534个人技术博客:http://demi-panda.com ... -
Ffmpeg快速命令使用
2011-03-24 15:52 1782Ffmpeg使用语法 ffmpeg [[opt ... -
Linux远程备份工具Rsync使用案例
2011-02-24 10:31 3482个人技术博客:http://dem ... -
linux下的命令行下转换媒体格式工具FFMPEG详解
2011-02-15 17:25 6602在windows下有格式工厂之 ... -
Linux下tar bz gz等压缩包的压缩和解压
2011-02-12 12:58 1365解压 就用得挺熟 ...
相关推荐
vim-plugin插件
VimPlugin.rar VimPlugin.rar VimPlugin.rar
常用VIM插件 以及 c/c++语法高亮配置文件,
Chrome的Vim插件Vimium_v1.45.crx
vim plugin, windows 下工具集合,linux 下 plugin 也可以使用。
将vim修改为ide常用插件:a.vim , grep.vim, visual mark.vim, supertab.vim, taglist.vim, winmanager.vim, minibufexpl.vim
eclipse中vim插件,好用,解压缩后将plugin和features目录下的文件放到eclipse的安装目录下的plugins目录下,就可以了。 PS 放完之后没生效 我把features文件夹下的文件复制到eclipse的features文件夹下 plugin文件...
VIM常用插件安装包 解压到你的vimfiles目录下就可以了。
vim中~/.vim 插件打包 ./vimrc文件内容为 "允许鼠标的使用,防止linux终端下无法拷贝 if has('mouse') set mouse=a endif au GUIEnter * simalt ~x "字体的设置 set guifont=Bitstream_Vera_Sans_Mono:h9:cANSI...
我自己配置的vimrc及用到的插件,参考了很多,以著名的amixdk为蓝本,汲取精华,结合多年的使用经验打了这个包。
vim-switchtoinc 这是一款vim插件,用于头文件和源文件间快速切换。注:在a.vim插件基础上修改的。特性 支持多种语言(所有具备头文件的语言),主要支持为c, cpp, objective-c, objective-cpp等 支持绝对...
vim-plugin.tar.gz qiangda de vim gongju chajian.shishi
vim的数据库连接插件,便于数据库SQL调试,支持几乎所有的常见数据库, For instructions on installing this file, type :help add-local-help |add-local-help| inside Vim. Homepage: ...
vim插件,用于扩展自定义匹配。 安装时将doc下文件复制到~/.vim/doc/下,plugin文件放入~/.vim/plugin下即可使用。 因vim7.3及以下版本目前只支持单字符匹配,所以如果要实现“begin”/“end”类似地匹配,需要用该...
vim-textobj-user, Vim插件 vim-textobj-user---创建你自己的文本对象 vim-textobj-user是一个用于创建你自己的文本对象而不用痛苦的Vim插件。 因为要处理许多错误,所以很难创建文本对象。 这个插件隐藏了这样的...
包中包括: python.vim pythoncomplete.vim nerdtree.zip vim-autocomplpop.zip 四个插件及vim官网中对应的说明。 送给那些不能上官网的青年。
rails.vim提供了常用的一些命令,可以帮助开发,例如:Rgenerate, Rake, Rfind,RTview等,很方便,也很实用。 安装方法: 拷贝 autoload/rails.vim, plugin/rails.vim, 和 doc/rails.txt 到 ~/.vim 目录. ...
windows可用 .vimrc 加filetype plugin on
将doc里的文件复制到vim安装路径下的/usr/share/vim/vim72/doc/下,将plugin里的文件复制到/usr/share/vim/vim72/plugin/目录下,将.vimrc复制到~/.vimrc下,如果~/.vimrc存在就替换它。这样就可以完成vim的功能扩展...
Vim插件阅读派对 与当地核实git clone 并输入以下命令 git clone https://github.com/haya14busa/reading-vimpluginbundle exec jekyll serve -w -b /reading-vimplugin检查在 #Vimプラグイン読書会 まであと10分!...