This repository is no longer maintained! See my new Emacs configuration here.
This is simply my prelude personal directory.
To install prelude please follow this link: https://github.com/bbatsov/prelude
To install this configuration:
- Clone personal directory:
mv ~/.emacs.d/personal ~/.emacs.d/personal.old
git clone --recursive https://github.com/Sliim/prelude-personal.git ~/.emacs.d/personal
- I do some minor changes in prelude:
cd ~/.emacs.d
git am --signoff < ~/.emacs.d/personal/prelude.patch
- Enable prelude modules
rm ~/.emacs.d/prelude-modules.el && ln -s ~/.emacs.d/personal/prelude-modules.el ~/.emacs.d/prelude-modules.el
Some packages and python modules are required to operate python development:
On debian-like, install packages with apt below:
apt-get install make build-essential
Python module requirements:
pip install elpy rope flake8 ipython nose nose-cover3 virtualenv jedi rope_py3k
Jedi installation (with virtualenv):
cd ~/.emacs.d/elpa/<jedi_directory>
make requirements
See https://github.com/tkf/emacs-jedi for more informations.
- Download and install PHP manual:
wget http://fr2.php.net/get/php_manual_en.tar.gz/from/this/mirror -O php_manual.tar.gz
tar xvfz php_manual.tar.gz && rm php_manual.tar.gz
mv php-chunked-xhtml ~/.emacs.d/php-manual
To use helm with mercurial repository, you must install DVC :
$ bzr get http://bzr.xsteve.at/dvc/ ~/.emacs.d/dvc-bzr
$ cd ~/.emacs.d/dvc-bzr; autoconf; mkdir build; cd build; ../configure; make
# make install
$ mv ./lisp ~/.emacs.d/dvc; cd ~/.emacs.d/; rm -r dvc-bzr
$ sed -ri s/"..\\/..\\/lisp\\/"/""/i dvc/dvc-autoloads.el
More info on http://www.xsteve.at/prg/emacs_dvc/dvc.html and INSTALL file.
vendor/ directory contains some packages that are not packaged in elpa.
Actually these packages are:
- auto-complete-etags.el (https://github.com/emacsmirror/auto-complete-etags)
- helm-etags+.el (https://github.com/jixiuf/helm-etags-plus)
- helm-ls-hg.el (https://github.com/emacs-helm/helm-mercurial-queue)
- helm-mercurial.el (https://github.com/emacs-helm/helm-mercurial-queue)
elisp/ directory contains some personal packages.
Actually these packages are:
- projext.el (a bridge between php-project and projectile)
- skbd.el (personal keybindings preconfigured into a minor mode)
Key | Command |
---|---|
M-x | helm-M-x |
C-c h | helm-mini |
M-<up> | windmove-up |
M-<down> | windmove-down |
M-<left> | windmove-left |
M-<right> | windmove-right |
C-<tab> | auto-complete |
Key chord | Command |
---|---|
ca | auto-complete |
cj | jedi:complete |
Key | Command |
---|---|
C-o f | projectile-find-file |
C-o i | iedit-mode |
C-o t | etags-select-find-tag |
C-o w | whitespace-mode |
C-o b | helm-buffers-right-side |
C-o s | shell-pop |
C-o g | god-local-mode |
C-o k | set-cmd-to-kbd |
C-o d | direx:jump-to-directory-other-window |
C-o v g | magit-status |
C-o v m | monky-status |
C-o e a | emms-add-directory-tree |
C-o e b | emms-previous |
C-o e h | helm-emms |
C-o e l | emms-browser |
C-o e n | emms-next |
C-o e p | emms-pause |
C-o h f | helm-find-files |
C-o h g | helm-git-find-files |
C-o h h | helm-hg-find-files-in-project |
C-o h p | helm-prelude |
C-o h t | helm-etags+-select |
C-o h q | helm-quickrun |
C-o p i | projext-show-current-project |
C-o p t | projext-regenerate-tags |
C-o p c a | projext-clean-project |
C-o p c d | projext-clean-project-desktop |
C-o p c t | projext-clean-project-tags |
C-o p f | projext-find |
C-o p s | project-persist-save |
C-o p k | project-persist-close |
C-o p d | project-persist-delete |
C-o p n | project-persist-create |
C-o p h | helm-project-persist |
C-o q q | quickrun |
C-o q e | quickrun-region |
C-o q a | quickrun-with-arg |
C-o q s | quickrun-shell |
C-o q r | quickrun-replace-region |