README.md

June 3, 2020 · View on GitHub

layout

vim

support keys (you can diy keys in ~/.vim/vim/key.vim)

keyinfo说明
,leader key前缀键
,llopen nerd tree on left打开文件浏览器
,rropen tag bar on right打开符号浏览器
//comment/uncomment code注释/反注释
,ffauto format code自动格式化
,smsearch most recent used file查找最近使用过的文件
,sfsearch file查找文件
,gdjump to the definition(c/c++/go)跳转到定义(c/c++/go)
,fscscope find symbols(c/c++/go)查找符号(c/c++/go)
,ftcscope find strings(c/c++/go)查找字符串(c/c++/go)
<shift-right>cscope jump to next result跳转到下一结果
<shift-left>cscope jump to previous result跳转到前一结果
<open/close cscope result list打开/关闭查找结果列表
<shift-down>jump to next error跳转到下一错误
<shift-up>jump to previous error跳转到前一错误
>open/close error list打开/关闭错误列表
,zifold/unfold all code bolcks整体折叠
,za(or blank)fold/unfold current block局部折叠
<tab>switch to next buffer切换下一缓存
<shift-tab>switch to previous buffer切换前一缓存
,ttadd/update your code title添加/更新文件说明
.........

support languages and features (支持语言与特性)【 1★=2☆】

language(语言)highlight(高亮)autocomplete(补全)syntax(查错)snips(补全块)jump(跳转)todo(待改进)
c★★☆★★☆★★★★☆★★
cpp★★☆★★☆★★☆★★☆★★
golang★★☆★★☆★★★★☆★☆
javascript★★★★☆★★
html★★☆★★
.....................

plugins and resources path

this is a simple and powerful configuration of vim, you can diy your own vim base on it. you can share some good plugins with me.

pathDIY infoDIY说明
~/.vimrcentrance configuration插件入口
~/.vim/base.vimbase configuration基础配置
~/.vim/plugin.vimplugins configuration插件们的配置
~/.vim/func.vimfunction configuration自定函数
~/.vim/key.vimkey configuration快捷键配置
~/.vim/plugged/plugin installed dir插件默认安装目录
~/.vim/colors/colorscheme installed dir色彩主题安装目录
~/.vim/snips/snips collected dirsnip补全收集
~/.vim/ycm/.ycm_extra_conf.py dirycm配置目录
~/.vim/dicts/dictionary dir字典目录

install(中途vim-go安装工具时需使用翻墙网络)

git clone https://github.com/adwpc/xvim.git
cd xvim

#install vimrc
./install vimrc


#Q&A, see wiki first