首页 > 技术文章 > Martinjingyu的开发环境

martinjinyu 2015-08-08 15:31 原文

Mac Pro Book一台去年新款,最近这4年多折腾的东西总结下。

Mac的包管理器首选HomeBrew,安装如下:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew安装软件很方便,以下是我安装的包:

# apple at localhost in ~ [14:40:08]
$ brew list
ack                composer            grep                memcached            php55-mongo            squid                wget
ant                ctags                htop-osx            mhash                php55-redis            ssh-copy-id            wxmac
astyle                docker                icu4c                mongodb                pssh                the_silver_searcher        xz
autoconf            drafter                iftop                mpfr                pyqt                tmate                yajl
autojump            erlang                isl                nginx                python                tmux                z
autossh                freetype            jpeg                node                qt                tomcat                zlib
axel                gcc                libevent            openssl                readline            tree                zsh
bdw-gc                gdbm                libmpc                osquery                reattach-to-user-namespace    uncrustify            zsh-completions
boost                gearman                libpng                pcre                redis                unixodbc
boot2docker            gettext                libtiff                phantomjs            riak                uwsgi
carthage            gmp                lua                php55                scala                vim
cloog                go                maven                php55-igbinary            sip                w3m
cmake                gradle                mcrypt                php55-mcrypt            sqlite                watch

接下来介绍vim的配置,用VundleVim管理:

$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

配置插件:

我的vim配置项目: vim项目 , 更多Vim插件见 vimawesome

效果图如下:

 

 

自动补全及光标有一般模式(竖的长方型)变到编辑模式(|),

推荐阅读