nmap<C-[>s :cs find s<C-R>=expand("<cword>")<CR><CR>"search word in the project and the word can be in text nmap<C-[>t :cs find t<C-R>=expand("<cword>")<CR><CR>"search word in the project and the word can be in text, support regex nmap<C-[>e :cs find e<C...
~/.vim/indent- 当 vim 检测到特定类型的文件后,会运行该文件夹下关联文件; ~/.vim/syntax- 当 vim 检测到特定类型的文件后,会运行该文件夹下的关联文件; ~/.vim/after- 内部文件在最后执行; ~/.vim/autoload- 内部文件只在特定条件下运行; ~/.vim/doc- 存放程序相关文档。笔者更喜欢在.vimrc内留注释...
使用键O打开项目中的所有目录,然后使用常规的/search操作符搜索文件。要在右侧打开光标下的文件,请按下ok键。要查看隐藏的文件,请使用I键。与Dirvish(见上文)相比,它支持文件管理器驱动的开发。Nerdtree总是在右侧打开文件,而不是指定在哪里打开文件。 41.Nerdtree-syntax-highlight 这个插件将语法高亮显示添加到Ner...
syntax enable " 主题配置了 gruvbox 的暗色主题,还有亮色主题 light set background=dark colorscheme gruvbox set t_Co=256 到这里主题就配置成功了。接下来我们配置一些编码过程中常用的 .vimrc 配置。 8.3 vimrc 常用配置 Vim 的全局配置为 /etc/vim/vimrc 或者/etc/vimrc,对所有用户生效。当前用户的配置...
icon Plug 'ryanoasis/vim-devicons' " NERD Tree 文件名称颜色 Plug 'tiagofumo/vim-nerdtree-syntax...
语法高亮度-日志文件(Syntax Logfile)B/Z 折叠(Fold)B/Z 非可见字符(Listchars)B/Z 缩进(Indent)B/Z 多重色彩括号(Parentheses)B/Z Zeavim离线文档查看器B/Z 网页开发 Firefox浏览器B/Z 输入网页标签(Input HTML Tags)B/Z 输入字符实体(Input Character Entity)B/Z 转义字符实体(Escape Character Entity)...
bennypowers/splitjoin.nvim : Split-joint list like syntax constructs bkad/camelcasemotion : make word motions respect camel case bronson/vim-visual-star-search : allows you to select some text using Vim's visual mode, then hit * and # to search for it elsewhere in the file cassin01/wf....
Regex page search with highlighting Command bar with tab-completion Smooth scrolling cVim Help cVimrc Boolean cVimrc settings are enabled with the command'set' + <SETTING_NAME>and disabled with the command'set' + no<SETTING_NAME>(for example,set regexpandset noregexp) ...
Gvim插件可以到下面的网址自行选择喜欢的插件:http://www.vim.org/scripts/script_search_results.php?order_by=downloads taglist.vim插件:该插件是查看源代码的结构等,支持C/C++,java,php等多种语言。 安装方法: 下载taglist.zip,解压到$HOME/.vim目录中; ...
NOTE: The regex syntax is NOT Vim's, it's Python's. Default: {} The following example will do, for Java filetype only: Remove all error level diagnostics, and, Also remove anything that contains ta<something>co let g:ycm_filter_diagnostics = { \ "java": { \ "regex": [ "ta.+co...