/dotemacsd

Primary LanguageEmacs Lisp

dotemacsd

Installing

  1. Clone this directory:

    git clone git://github.com/unders/dotemacsd.git path/to/local/repo

  2. cd dotemacsd and run bootstrap: ./bootstrap.sh

  3. Finally: Add the Cask dependency manager to your $PATH: $ export PATH="$HOME/.cask/bin:$PATH"

Plug-ins

Magit

To use Magit, run M-x magit-status, or type:

C-x g

this opens a buffer that summarizes its status. Close the status buffer with q.

To get help inside the status buffer, type C-h m

Here is an article that describes Magit: Introduction to magit emacs mode

Evil

Emulates VIM.

Evil-leader

Leader key is set to "," and * Leader u undo-tree-visualize * Leader e eshell * Leader b switch-to-buffer

Ace Jump Mode

In Normal mode or Visual mode hit SPC to activate ace-jump-word-mode

inf-ruby

* C-c r r projectile-rails-console - Run rails console command in inf-ruby buffer.
* C-c C-r ruby-send-region
* C-c C-s inf-ruby
* C-x C-e ruby-send-last-sexp

Robe

* C-c C-d robe-doc
* C-c C-k robe-rails-refresh
* M-, pop-tag-mark
* M-. robe-jump (only works in insert-mode)

Ag - reqexp

* Leader m reqexp search in project
* o        open match in buffer but don't go there
* RET      open and go to match
* r        toggle read-only area
* C-x C-s  apply changes to file buffers

Projectile

* M-e    open recent files
* C-x f  find file in project

smex

* C-h f while Smex is active, runs describe-function on the
        currently selected command.
* M-.   jumps to the definition of the selected command.
* C-h w shows the key bindings for the selected command. (Via where-is.)

Hunspell

* Leader gl ispell-region
* Leader gb ispell-buffer

Packages

List available packages:

M-x package-list-packages

it shows a list of packages. Mark the packages you want to install with i and the ones you want to remove with d. Press x to execute the scheduled actions.

Links