about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-10-20T18·05+0200
committerVincent Ambo <vincent@spotify.com>2013-10-20T18·05+0200
commit96a0605e81443b41373c31a1276d8879523d13eb (patch)
tree1a20f71fc5fea5709502ae643536073c8ea76024
parent38f531c926d1c370c6dbad38a1c056951127fdcf (diff)
Small defaults changes
-rw-r--r--init-bindings.el3
-rw-r--r--init-modes.el2
-rw-r--r--init-settings.el4
3 files changed, 8 insertions, 1 deletions
diff --git a/init-bindings.el b/init-bindings.el
index 88b8a6596bcd..f44a3d3ed3c3 100644
--- a/init-bindings.el
+++ b/init-bindings.el
@@ -39,6 +39,9 @@
 ;; So good!
 (global-set-key (kbd "C-c g") 'magit-status)
 
+;; Open project drawer
+(global-set-key (kbd "M-p") 'project-explorer-open)
+
 ;; Add a fullscreen toggle - TODO: reenable in next Emacs release
 ; (global-set-key (kbd "M-RET") 'toggle-frame-fullscreen)
 
diff --git a/init-modes.el b/init-modes.el
index 5c8cb2b21ec1..ab02bc6c5713 100644
--- a/init-modes.el
+++ b/init-modes.el
@@ -1,4 +1,4 @@
-(mapc 'require '(projectile ac-nrepl cider))
+(mapc 'require '(projectile ac-nrepl cider project-explorer))
 ;; Initializes modes I use.
 
 (add-hook 'prog-mode-hook 'esk-add-watchwords)
diff --git a/init-settings.el b/init-settings.el
index 470e79b20e49..6388a88ce377 100644
--- a/init-settings.el
+++ b/init-settings.el
@@ -35,6 +35,7 @@
       uniquify-buffer-name-style 'forward
       whitespace-style '(face trailing lines-tail tabs)
       whitespace-line-column 80
+      default-directory "~"
       fill-column 80
       ediff-window-setup-function 'ediff-setup-windows-plain
       ediff-diff-options "-w"
@@ -101,8 +102,11 @@
 
 (global-hl-line-mode -1)
 
+(set-face-attribute 'default nil :font "Source Code Pro 13")
 (set-default-font "Source Code Pro 13")
 
+(add-to-list 'after-make-frame-functions 'set-font)
+
 ;; Don't make the nyan cat too long ... I have other stuff in the mode
 ;; bar as well!
 (set-variable 'nyan-bar-length 15)