Emacs configuration
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ropeproject
DoubanMusic
android-mode
anything-config
auto-complete
company
emms
go
impatient-mode @ 79972d9
isend-mode.el
mu4e
pylookup
templates
twitter-mode
.gitignore
.gitmodules
CaptureImage.jar
README.org
TAGS
blank-mode.el
capture-image.el
edit-server.el
erc-highlight-nicknames.el
flymake-cursor.el
highlight-indentation.el
highlight-symbol.el
lambda-mode.el
mark-multiple.el
markdown-mode.el
moz.el
php-mode.el
rename-sgml-tag.el
shell-completion.el
sr-speedbar.el
tango-dark-theme.el
tbemail.el

README.org

This is my own init file for GNU Emacs 24.

It is mostly intended to be used on Linux especially Debian and CentOS.

Author Information

Prerequisites

el-get

org-mode

“Org is a mode for keeping notes, maintaining TODO lists, and doing project planning with a fast and effective plain-text system.” – org-mode manual

In Emacs, M-x el-get-install org-mode

magit

An Emacs git plugin.

Download and compile it.

argparse

$ sudo pip install argparse

epc

  • $ sudo pip install epc
  • In Emacs, M-x el-get-install epc

jedi

Python code completion plugin.

In Emacs, M-x el-get-install RED jedi

power-line

Eye candy

In Emacs, M-x el-get-install power-line

emacs-w3m

Web browser, the snapshot version works in Emacs 24.

$ sudo apt-get install w3m

mu4e

Email client for Emacs

Key-bindings

KeystrokesFunctionNote
F3kmacro-start-macro-or-insert-counterstart defining keyboard macro
F4kmacro-end-or-call-macroend defining keyboard macro, or call the last macro
F5emms-pausestart/pause emms
F6kill-this-bufferclose current buffer
F7emms-seek-backwardemms backward 5 seconds
F8emms-seek-forwardemms forward 5 seconds
C-x upwindmove-upwindow move up
C-x downwindmove-downwindow move down
C-x leftwindmove-leftwindow move left
C-x rightwindmove-rightwindow move right
C->text-scale-increasetext zoom in
C-<text-scale-decreasetext zoom out
C-}enlarge-window-horizontallyas its function name
C-{shrink-window-horizontallyas its name
C-^enlarge-windowenlarge current window vertically
C-x C-bibufferenhanced dired-like buffer switching
C-x banonymouscall anything for buffer switching
C-tabaj-toogle-foldtoggle fold all lines larger than current line

Email client

mu4e

functionnote
M-x mu4eopen mu4e main window
jjump to …
Ccompose
Rreply
ssearch

RSS reader

I use rss2email, so all my RSS feeds will be sent to E-mail inbox. Please search rss2email for details.

Blog

org2blog

Microblog

Sina Weibo

Media Player

EMMS + MPlayer

Screen-Shot

IRC

ERC

Python

Java

Elisp

ace-jump-mode

keyboard shortcutcommandnote
C-c SPCace-jump-word-modeenter first char of a word
C-u C-c SPCace-jump-char-modeenter a char for query
C-u C-u C-c SPCace-jump-line-modeeach non-empty line will be marked