about summary refs log tree commit diff
path: root/init.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-04T12·35+0200
committerVincent Ambo <vincent@spotify.com>2013-07-04T12·35+0200
commite7c303a6a36c60b4c1b7737fdf442260dfe1fd5f (patch)
tree880e10aeb7fa6ee5e7e13f4f887f6040f90b1dfc /init.el
parent3facbfcaaba3c26773f56510d8ca5e2fa1de639a (diff)
Added some tweaks (taken from @pcarrier's config! :))
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1c7fc53a36c7..36e1f814e7f5 100644
--- a/init.el
+++ b/init.el
@@ -87,6 +87,17 @@
 ;; Hiding JOIN, QUIT, PART
 (setq erc-hide-list '("JOIN" "PART" "QUIT"))
 
+;; Eshell
+;; Start/join
+(global-set-key (kbd "C-x m") 'eshell)
+;; Always start
+(global-set-key (kbd "C-x M") (lambda () (interactive) (eshell t)))
+
+;; Git
+(global-set-key (kbd "C-c g") 'magit-status)
+
+(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
+
 ;; Start server for emacsclient
 (server-start)