#Jakobs Emacs config
Welcome to my Emacs configuration, hope you will find something useful here. I have an intention to write a blogpost when I add something cool and I link to them in the blogposts-section below.
Installation
$ git submodule init
$ git submodule update
$ ln -s ~/dev/emacs.d ~/.emacs.d
- Install source code pro font.
- Install The silver searcher
Overview
Blogposts
JavaScript
javascript-utils.el
has some interesting functions for JavaScript developers.
- js/import Lists all JavaScript files in projectile project and all dependencies from package.json in ido list. The selected one is insert in an import statement at the cursor.
- js/console-log Lists all javascript variables in the buffer in an ido list. The one you picked is used in a console.log statment that is inserted where you have the cursor.
- js/itonly In Jasmine tests: Find closest
it
and convert it to anit.only
- js/xit In Jasmine tests: Find closest
it
and convert it to anxit
- js/it In Jasmine tests: Find closest
xit
orit.only
and convert it to anit
- js/describe-only In Jasmine tests: Find closest
describe
and convert it to andescribe.only
- js/x-describe In Jasmine tests: Find closest
describe
and convert it to anxdescribe
- js/clean-describe In Jasmine tests: Find closest
xdescribe
ordescribe.only
and convert it to andescribe