安装软件:yum-yinstallvimctagspython-setuptoolsgit创建链接:ln-s/usr/bin/ctags/usr/local/bin/ctags进入家目录:cd~下载脚本:gitclonehttps://github.com/dollarphper/vimwizard.git重命名:mvvimwizard.vim移动配置文件:mv.vim/.vimrc~打开vim,
分类:
其他好文 时间:
2018-05-28 12:36:09
阅读次数:
304
最近工作中需要到linux服务器上更改文件,苦于对vim的各种命令不熟悉,今天特此总结并熟悉一下各种vim命令,好提高工作效率。后期持续更新 vim编辑器个人设置 1. 先复制一份vim配置模板到个人目录下 2. 编辑个人目录下的.vimrc 3. 进入vim编辑模式编写以下配置信息 命令模式(co ...
分类:
系统相关 时间:
2018-05-23 22:10:50
阅读次数:
205
第一步,执行下面这个脚本: mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do curl -o ~/.vim/$d/scala.vim https://raw.githubuserconte ...
分类:
系统相关 时间:
2018-05-21 14:32:41
阅读次数:
197
详细安装步骤在github上有,https://github.com/Valloric/YouCompleteMe,我这里是自己总结的简化版安装步骤。 步骤1.安装Vundle 首先,clone到本地 git clone https://github.com/VundleVim/Vundle.vim ...
分类:
其他好文 时间:
2018-05-15 15:51:46
阅读次数:
659
参考 http://www.jb51.net/article/58009.htm 将 # cat ~/.vimrc filetype plugin on let g:pydiction_location = '~/.vim/tools/pydiction/complete-dict' 实现按下tab ...
分类:
编程语言 时间:
2018-05-12 11:20:41
阅读次数:
181
在用户主目录下新建vimrc即可。例如: vim ~/.vimrc 然后复制进去即可。 配置如下: ...
分类:
系统相关 时间:
2018-05-07 11:07:36
阅读次数:
194
vi的三种模式及各个模式之间的转换关系 Vim编辑器修改配置文件实现 缩进设置 显示行号 等 vim配置文件默认存在 /etc/vim/vimrc 在配置文件末尾加上 set nu set autoindent set tabstop=4 set softtabstop=4 set shiftwid ...
分类:
系统相关 时间:
2018-05-04 10:28:17
阅读次数:
237
1.进入当前用户目录,新建 .vimrc ,并加入如下内容: 2.开启行号 选择颜色 ...
分类:
系统相关 时间:
2018-05-01 20:17:23
阅读次数:
236
基础配置 vim的配置是在用户主目录下的 ~/.vimrc 文件中完成的,如果没有的话,需要自己新建一下: 1 2 cd ~ touch .vimrc 1 2 cd ~ touch .vimrc 1 2 cd ~ touch .vimrc 1 2 cd ~ touch .vimrc cd ~ tou ...
分类:
编程语言 时间:
2018-04-29 18:44:43
阅读次数:
408
"/************************************************************************* " > File Name: .vimrc " > Author: LyuCheng " > Created Time: 2018-01-14 14... ...
分类:
系统相关 时间:
2018-04-26 23:39:09
阅读次数:
416