As configured in my dotfiles.
start new:
tmux
start new with session name:
(ns async | |
(:import [goog.async Throttle Debouncer])) | |
(defn disposable->function [disposable listener interval] | |
(let [disposable-instance (disposable. listener interval)] | |
(fn [& args] | |
(.apply (.-fire disposable-instance) disposable-instance (to-array args))))) | |
(defn throttle [listener interval] | |
(disposable->function Throttle listener interval)) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>