Permalink
Browse files

Add nrepl.el and stuff.

  • Loading branch information...
1 parent bd69120 commit 9c35cc187047af96b1afaaf26c94c6ee3e846dc0 @Raynes committed Aug 11, 2012
Showing with 15 additions and 4 deletions.
  1. +6 −0 .gitmodules
  2. +7 −3 init.el
  3. +1 −1 non-elpa/js2-mode
  4. +1 −0 non-elpa/nrepl.el
View
@@ -10,3 +10,9 @@
[submodule "non-elpa/js2-mode"]
path = non-elpa/js2-mode
url = https://github.com/mooz/js2-mode.git
+[submodule "nrepl.el"]
+ path = nrepl.el
+ url = git://github.com/kingtim/nrepl.el.git
+[submodule "non-elpa/nrepl.el"]
+ path = non-elpa/nrepl.el
+ url = git://github.com/kingtim/nrepl.el.git
View
10 init.el
@@ -73,6 +73,7 @@
'(ispell-program-name "/usr/local/bin/aspell")
'(js2-basic-offset 2)
'(mouse-autoselect-window t)
+ '(nrepl-lein-command "lein")
'(org-startup-indented t)
'(show-paren-mode t)
'(tool-bar-mode nil)
@@ -122,10 +123,10 @@
(put-clojure-indent 'when-short 'defun)))))
;; Keybindings
-(global-set-key (kbd "C-c r") 'gist-region)
-(global-set-key (kbd "C-c b") 'gist-buffer)
+(global-set-key (kbd "C-c r") 'refheap-paste-region)
+(global-set-key (kbd "C-c b") 'refheap-paste-buffer)
(global-set-key (kbd "C-c s") 'magit-status)
-(global-set-key (kbd "C-c j") 'clojure-jack-in)
+(global-set-key (kbd "C-c j") 'nrepl-jack-in)
(global-set-key (kbd "<s-mouse-1>") 'flyspell-correct-word)
(global-set-key (kbd "C-c f") 'finder)
(global-set-key (kbd "C-c l") 'goto-line)
@@ -230,3 +231,6 @@
;; Highlight mustache files as html
(add-to-list 'auto-mode-alist '("\\.mustache" . html-mode))
+
+(add-to-list 'load-path "~/.emacs.d/nrepl.el")
+(require 'nrepl)
Submodule js2-mode updated 4 files
+23 −0 Makefile
+215 −0 js2-imenu-extras.el
+252 −216 js2-mode.el
+113 −0 tests/ast.el
Submodule nrepl.el added at 1bf419

0 comments on commit 9c35cc1

Please sign in to comment.