This emacs.d
was created by @piisalie and @bjoska as a joint venture after discussion on twitter.
The initial commits where made while pairing, as time passes more additions will be made through pull requests.
- Index
- Target users
- Getting started
- Dependencies
- Specific Keyboard Shortcuts
- Local changes
- Themes
- TODO
- Contribute
As we are both Ruby developers this config will be most useful to programmers working with said language and environment.
First clone this repo to a location on your system(see below for alternatives).
If you do not feel like keeping this in a separate place but want it in the same place as where you would keep your usual .emacs.d
directory, then do the following in your home directory git clone https://github.com/bjoska/emacsandcheese.git .emacs.d
or clone it to a separate directory by running git clone https://github.com/bjoska/emacsandcheese.git
and then symlink it like this ln -snf <this directory> ~/.emacs.d/
.
After this bit is done make sure you have Cask(see below for more instructions on this) installed and then enter the directory and run cask install
. You should now have everything needed installed. Start emacs as you would normally and all the dependencies should be in place.
Have fun and let us know if you run into any issues!
This configuration utilizes Pallet and Cask to bundle the needed packages.
C-c m l
- multiple cursors edit lineC-c m n
- mark next like thisC-c m p
- mark previous like thisC-c m a
- mark all like this
C-c r l
- rspec-compile-on-lineC-c r f
- rspec-compile-fileC-c r p
- rspec-compile-projectC-c r P
- minitest-compile-projectC-c r F
- minitest-compile-file
C-x u
- view undo-tree
Keyboard shortcuts for web mode can be found here: WebMode
Keyboard shortcuts for coffee mode can be found here: CoffeeMode
<escape>
- expand in place
C-M-v
- Scroll other window upC-M-m
- Scroll other window down
M-S up
- Move line upM-S down
- Move line down
C-c C-e
- Suspend frameC-c C-q
- Kill Terminal
C-c C-s
- The current region or query
C-c C-o
- The current region or query
C-c C-i
- Indent selected region or whole bufferC-c C-n
- Indent and clean the current buffer
Configuration to enable windmove added.
More information can be found here
Deft mode will use org-mode as the default mode.
All notes will be stored in <your-emacs-dir>/deft-notes/
, you would
probably want to change this to something that syncs between systems.
You can change this setting by setting the following in your local configuration:
(setq deft-directory "~/your/notes/directory/")
f8
- activate deft
More information can be found here
Notable key commands:
C-c C-v +
- Increase batch size by a factor of 2C-c C-v -
- Decrease batch size by a factor of 2C-c C-v n
- move batch by batch(C-v
works as well)C-c C-v p
- move batch by batch(M-v` works as well)C-c C-v SPC
- display batch starting from current pointC-c C-v [
- beginning of fileC-c C-v ]
- end of fileC-c C-v s
- search forwardC-c C-v r
- search backwards
Notable commands:
M-x vlf-set-batch-size
- To set the batch size to process.
When you add your own local changes that you do not really want to add to the repo, these should go in the local_config directory.
./local_config/<a name of a file>
The configuration comes packagede with the following themes and theme collections:
- sanityinc-tomorrow - includes day, night, eighties, blue and a few more
- sanityinc-solarized - includes dark and light (not terminal mode friendly)
- ample-zen - a simple theme similar to sanityinc-tomorrow-eighties
To change theme add a load-theme
to your own personal config.
Example
(load-theme 'sanityinc-solarized-dark t)
- Helm (and Helm-Projectile)
- Robe mode
- Rubocop?
- Textmate.el
- Configuration for Org mode
- Swank.js
- Cleanup the bottom status bar with a nicer look.
If you would like to contribute feel free.
Follow the following process:
- fork the repo
- add your feature in a new branch
- create a pull request