博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

文章分类 -  VI

摘要:https://vimjc.com/vim-pattern.html https://xu3352.github.io/linux/2018/11/08/practical-vim-skills-chapter-12 3中类型的括号: [] 中括号(Square brackets), 具有特殊的含义 阅读全文

posted @ 2021-08-27 13:50 bw_0927 阅读(112) 评论(0) 推荐(0)

摘要:上下最大最小: 9. 使窗口最小化:(ctrl + w) 1_ 10. 使窗口最大化:(crtl + w) _ 左右最大最小:11. 使窗口向左最小化:(crtl +w ) 1|12. 使窗口向右最大化:(crtl + w) | set tabstop=4 set softtabstop=4 set 阅读全文

posted @ 2018-10-29 10:23 bw_0927 阅读(289) 评论(0) 推荐(0)

摘要:http://blog.csdn.net/robertzhouxh/article/details/8516236 前段时间有朋友在微博上@我推荐了一款vim的插件,用来显示对齐线,感觉效果不错,就给大家推荐一下.下载链接: Indent Guides 截图如下: 一. 安装 不用多说,直接解压放到 阅读全文

posted @ 2017-10-02 20:19 bw_0927 阅读(119) 评论(0) 推荐(0)

摘要:https://vim.sourceforge.io/scripts/script.php?script_id=4426 https://sanctum.geek.nz/arabesque/vim-filename-completion/ 阅读全文

posted @ 2017-08-24 18:04 bw_0927 阅读(141) 评论(0) 推荐(0)

摘要:http://zhilight.blog.51cto.com/9880628/1643554 " Author: Light " Email: Black_Art@outlook.com " Date: 2015-05-04 00:02:05 "*************************** 阅读全文

posted @ 2017-07-06 16:12 bw_0927 阅读(234) 评论(0) 推荐(0)

摘要:http://nano-chicken.blogspot.tw/2014/07/vim-statusline.html http://blog.csdn.net/simple_the_best/article/details/53906553 简单介绍一下重点:%1*[foo]%*, hi User 阅读全文

posted @ 2017-07-06 16:08 bw_0927 阅读(2026) 评论(0) 推荐(0)

摘要:http://easwy.com/blog/archives/advanced-vim-skills-catalog/ :help 'path' :help mksession :help find :help gf :help CTRL-W_f path选项定义了一个目录列表,在使用gf,find 阅读全文

posted @ 2014-12-31 17:55 bw_0927 阅读(119) 评论(0) 推荐(0)

摘要:function! SwitchToBuf(filename)"let fullfn = substitute(a:filename, "^\\~/", $HOME . "/", "")" find in current tablet bufwinnr = bufwinnr(a:filename)i... 阅读全文

posted @ 2014-12-30 12:59 bw_0927 阅读(153) 评论(0) 推荐(0)

摘要:http://linuxtoy.org/archives/efficient-editing-with-vim.htmlhttp://vimdoc.sourceforge.net/htmldoc/http://vim.wikia.com/wiki/Best_Vim_Tipshttp://www.la... 阅读全文

posted @ 2014-12-30 12:48 bw_0927 阅读(217) 评论(0) 推荐(0)

摘要:http://blog.guorongfei.com/2015/10/06/vim-plugin/ 能用vundle安装就用vundle安装 1.不行的话,想办法把插件的完整目录下载下来,例如 /home/tmpDir/YouCompleteMe 2.然后把youcompleteme目录拷贝到/ro 阅读全文

posted @ 2014-11-02 21:44 bw_0927 阅读(83) 评论(0) 推荐(0)

摘要:http://blog.marchtea.com/archives/161第一次听说这个插件还是在偶然的情况下看到别人的博客,听说了这个插件的大名.本来打算在实训期间来完成安装的,无奈网实在不给力,也就拖到了回家的时候.在开始准备工作的时候就了解到这个插件不是很容易安装,安装的时候果然名不虚传.(关... 阅读全文

posted @ 2014-10-31 22:56 bw_0927 阅读(211) 评论(0) 推荐(0)

摘要:http://yysfire.github.io/vim/Vim脚本学习笔记.htmlexecute与normal命令函数范围的使用可变参数函数引用函数封装编写插件用户命令修改记录Last Modified: 2012-12-05 15:43:44First Created: 2012-12-04 ... 阅读全文

posted @ 2014-10-31 22:13 bw_0927 阅读(732) 评论(0) 推荐(0)

摘要:http://vim.wikia.com/wiki/VimTip1608Required setupEdit1. Install OmniCppComplete. See its doc/omnicppcomplete.txt file for information.2. Make a direc... 阅读全文

posted @ 2014-10-26 14:28 bw_0927 阅读(543) 评论(0) 推荐(0)

摘要:http://a.vifix.us/blog/vim-%E9%85%8D%E7%BD%AE%E6%8F%92%E4%BB%B6%E5%88%86%E4%BA%ABhttp://www.lampchina.net/article/htmls/201010/MzE0NzA4.html插件 a.vim,用... 阅读全文

posted @ 2014-10-17 13:56 bw_0927 阅读(190) 评论(0) 推荐(0)

摘要::ls输出的每一行有4个组成部分:缓冲区编号、文件状态标识、文件名和行号。这些部分中,唯有文件状态较难理解。文件状态本身由5列组成: 文件状态标识说明 u 一个不会列出的缓冲区,只有用:ls!才会出现。例如taglist窗口、帮助窗口。 % 占据当前window的缓冲区(光标焦点所在的缓冲区)。 # 阅读全文

posted @ 2014-10-11 17:00 bw_0927 阅读(291) 评论(0) 推荐(0)

摘要:http://www.cnblogs.com/respawn/archive/2012/08/21/2649483.htmlhttps://github.com/gmarik/Vundle.vim========通过vundle安装插件的各种不同方式http://www.cnblogs.com/pi... 阅读全文

posted @ 2014-09-11 12:55 bw_0927 阅读(240) 评论(0) 推荐(0)

摘要:http://nvie.com/posts/how-i-boosted-my-vim/http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ideA few weeks ago, I felt inspired by artic... 阅读全文

posted @ 2014-05-14 11:07 bw_0927 阅读(217) 评论(0) 推荐(0)

摘要:[Vim]vim的几种模式和按键映射http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_1)Posted on2011/09/17Map是Vim强大的一个重要原因,可以自定义各种快捷键,用起来自然得心应手。vim里最基本的ma... 阅读全文

posted @ 2013-08-16 12:47 bw_0927 阅读(575) 评论(0) 推荐(0)

摘要:http://laokaddk.blog.51cto.com/368606/593990http://laokaddk.blog.51cto.com/368606/593989水木社区VIM版版友推荐VIM插件列表转载:水木社区VIM版版友推荐插件列表(06年12月) http://www.new... 阅读全文

posted @ 2012-03-27 15:21 bw_0927 阅读(299) 评论(0) 推荐(0)

摘要:http://easwy.com/blog/archives/tag/vim/ http://maxmeinhardt.com/it/how-to-integrate-cscope-into-vim/ 一.安装ctags 首先检测是否安装了ctags,我的RHEL5是自带了,可以运行如下命令进行检测 阅读全文

posted @ 2011-09-23 16:02 bw_0927 阅读(947) 评论(0) 推荐(0)