hy0kl / profile

:panda_face: My profile for work.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

profile

高级智能化工作环境

功能介绍

  • 智能历史命令快速查找
  • 各种命令行自动补全功能
  • 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)

[Dependence]

  • ctags
  • tree ftp://mama.indstate.edu/linux/tree/

Ubuntu

$ sudo apt-get install ctags tree vim

BSD

# pkg install ctags tree vim

CentOS

# 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改成自己的,否则提交日志中会出现默认的

golangIDE依赖

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

About

:panda_face: My profile for work.

License:GNU General Public License v3.0


Languages

Language:Vim Script 69.6%Language:Shell 12.6%Language:Perl 10.8%Language:Vim Snippet 4.3%Language:Python 1.1%Language:PHP 0.8%Language:Roff 0.5%Language:Makefile 0.2%Language:C 0.1%