uBuntu下emacs配置及其嵌入式环境搭建
这是我在github上所存储的配置及其uBuntu环境的搭建。
git://github.com/sheepjxx/emacs_config.git
This guide is only for uBuntu 12.04 version, haven't been test on other OS. emacs "ecb" can not be installed using apt-get.
sudo apt-get install git git-svn gitk qgit emacs ecb cscope-el auto-complete-el git-el yasnippet icicles emacs-goodies-el doxymacs iciclesselect the path of your emacs. Normally I install to /usr/share/emacs/site-lisp/. This is default directory that emacs search.
git clone https://github.com/sheepjxx/emacs_config.gitcp emacs_config ~/.emacssudo update-alternatives --install "/usr/bin/ctags" "ctags" "/usr/bin/ctags-exuberant" 1sudo update-alternatives --install "/usr/bin/etags" "etags" "/usr/bin/ctags-exuberant" 1 sudo update-alternatives --config ctagssudo update-alternatives --config etagssudo cp -rf lisp /us/share/emacs/site-lisp/For emacs version smaller than 23, you need to copy package.el under list to /usr/share/emacs/sit-lisp, emacs24 already has package.el buildin
M-x list-packagesInstall ace-jump-mode lua-mode bookmark+ dired+
sudo apt-get install zshInstatll configuration from https://github.com/robbyrussell/oh-my-zsh
chsh -s /bin/zshUsing "chsh" command to change zsh to default shell Modify ~/.zshrc file(ZSH_THEME parameter), change theme to one you love. I use "pygmalion" to create my theme which is stored in zsh folder.
git config --global user.name "John Doe"git config --global user.email johndoe@example.comgit config --global core.editor emacsgit config --global alias.lg log --stat --graph --pretty=format:'%Cred%h%Creset by %an -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relativegit config --global alias.ci commitgit config --global alias.co checkoutgit config --global alias.br branchsudo apt-get install tree rpm rar unrar ssh curl freemind subversion meld python3sudo apt-get install tftp tftpd nfs-kernel-server xinetd portmap libncurses5-dev openjdk-7-jre minicom linux