/prelude-personal

My prelude personal/ directory

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

Emacs Prelude Personal

This repository is no longer maintained! See my new Emacs configuration here.

This is simply my prelude personal directory.

Installation

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

Python requirement

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.

PHP requirement

  • 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

Helm / Mercurial

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

vendor/ directory contains some packages that are not packaged in elpa.

Actually these packages are:

elisp/ directory

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)

Keybindings

Globals

KeyCommand
M-xhelm-M-x
C-c hhelm-mini
M-<up>windmove-up
M-<down>windmove-down
M-<left>windmove-left
M-<right>windmove-right
C-<tab>auto-complete
Key chordCommand
caauto-complete
cjjedi:complete

Skbd

KeyCommand
C-o fprojectile-find-file
C-o iiedit-mode
C-o tetags-select-find-tag
C-o wwhitespace-mode
C-o bhelm-buffers-right-side
C-o sshell-pop
C-o ggod-local-mode
C-o kset-cmd-to-kbd
C-o ddirex:jump-to-directory-other-window
C-o v gmagit-status
C-o v mmonky-status
C-o e aemms-add-directory-tree
C-o e bemms-previous
C-o e hhelm-emms
C-o e lemms-browser
C-o e nemms-next
C-o e pemms-pause
C-o h fhelm-find-files
C-o h ghelm-git-find-files
C-o h hhelm-hg-find-files-in-project
C-o h phelm-prelude
C-o h thelm-etags+-select
C-o h qhelm-quickrun
C-o p iprojext-show-current-project
C-o p tprojext-regenerate-tags
C-o p c aprojext-clean-project
C-o p c dprojext-clean-project-desktop
C-o p c tprojext-clean-project-tags
C-o p fprojext-find
C-o p sproject-persist-save
C-o p kproject-persist-close
C-o p dproject-persist-delete
C-o p nproject-persist-create
C-o p hhelm-project-persist
C-o q qquickrun
C-o q equickrun-region
C-o q aquickrun-with-arg
C-o q squickrun-shell
C-o q rquickrun-replace-region