vim配置文件

发布时间:2022-06-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了vim配置文件脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

"basic setting:chap1= set nocompatible set nu set background=dark syntax on set tabstop=4 set shiftwidth=4 set autoindent filetyPE on filetype plugin on filetype indent on "set cursorline set backspace=2 "禁止生成临时文件 set nobackup set noswapfile set autoread set autowrITe "搜索忽略大小写 set ignorecase "搜索逐字符高亮 set hlseArch set incsearch "编码设置 set enc=utf-8 set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 "语言设置 set langmenu=zh_CN.UTF-8 set helplang=cn "可以在buffer的任何地方使用鼠标(类似office中在公布工作区双击鼠标定位) "set mouse=a set selection=exclusive set selectmode=mouse,key "通过使用:commands命令,告诉我们文件的哪一行被改变过 set report=0 "在被分割的窗口间显示空白,便于阅读 set fillchars=vert: ,stl: ,stlnc: colorscheme desert

"==chapter2 key mapping= inoremap jj inoremap [ []i inoremap ] []i inoremap ( ()i inoremap ) ()i inoremap { {}O inoremap } {}O inoremap < <>i inoremap " ""i inoremap ' ''i

脚本宝典总结

以上是脚本宝典为你收集整理的vim配置文件全部内容,希望文章能够帮你解决vim配置文件所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。