高级智能化工作环境
- 智能历史命令快速查找
- 各种命令行自动补全功能
- ctags全能支持
- 超强vim配置
- nginx配置文件高亮
- c/c++海量API高亮
- awk脚本语法高亮
- php/js/css/python/c系统函数/sql关键词/golang/rust自动补全
- 记忆文件最后编辑位置
- VI(M)DE,将vim当做IDE工具
- N多实用别名和参考脚本
- 彩色的man手册
- 自动识git分支
- 个性化登陆欢迎界面(需要安装
fortune
,cowsay
)
- ctags
- tree ftp://mama.indstate.edu/linux/tree/
$ sudo apt-get install ctags tree vim
# pkg install ctags tree vim
# yum install ctags tree vim
$ cd ~
$ git clone https://github.com/hy0kl/profile.git # https协议,防止抛ssh-key无权限
$ cd profile
$ git submodule init
$ git submodule update
$ ./install.sh
$ cd ~
$ git clone --recursive https://github.com/hy0kl/profile.git # https协议,防止抛ssh-key无权限
$ cd profile
$ ./install.sh
记得将~/.gitconfig
中的name
,email
改成自己的,否则提交日志中会出现默认的
gocode go get github.com/nsf/gocode
goimports go get golang.org/x/tools/cmd/goimports
gotags go get github.com/jstemmer/gotags
godef go get github.com/rogpeppe/godef
...
执行以下命令
:PluginInstall
:GoUpdateBinaries