Open emacs and pastle it into *scatch* ( C-x b RET *scatch* to call it)
(url-retrieve
"https://raw.github.com/dimitri/el-get/master/el-get-install.el"
(lambda (s)
(let (el-get-master-branch)
(goto-char (point-max))
(eval-print-last-sexp))))
then
M-x eval-current-buffer RET
# if you already have your own emacs setting
# please backup
$ cd $HOME
$ mv .emacs.d/ .emacs_orig.d/
$ git clone git@github.com:qas612820704/.emacs.d.git
$ emacs -nw
waiting and enjoy!
I use jedi to complete
It need python package virtualenv
if you use debian like me, execute
$ sudo aptitude install python-pip
$ sudo pip install virtualenv
get into emacs and run
M-x jedi:install-server RET
irony-mode is auto complete for c/cpp
to see more information in the hyper link, I just say it simplely,
install dependency
$ sudo aptitude install cmake
emacs run
M-x irony-mode RET
M-x irony-install-server RET
Usage : (M-RET) to call the complete
$ emacs
is too long so my .zshrc
add this line:
alias e='env TERM=xterm-256color emacs -nw'
after setting, I use $ e
to run emacs in terminal