Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.21 KB

README.md

File metadata and controls

44 lines (29 loc) · 2.21 KB

#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

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 an it.only
  • js/xit In Jasmine tests: Find closest it and convert it to an xit
  • js/it In Jasmine tests: Find closest xit or it.only and convert it to an it
  • js/describe-only In Jasmine tests: Find closest describe and convert it to an describe.only
  • js/x-describe In Jasmine tests: Find closest describe and convert it to an xdescribe
  • js/clean-describe In Jasmine tests: Find closest xdescribe or describe.only and convert it to an describe

Inspiration