Created
March 26, 2014 19:36
-
-
Save pxlpnk/9791469 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'grizzl) | |
(projectile-global-mode) | |
(setq projectile-enable-caching t) | |
(setq projectile-completion-system 'grizzl) | |
;; Press Command-p for fuzzy find in project | |
(global-set-key (kbd "M-p") 'projectile-find-file) | |
;; Press Command-b for fuzzy switch buffer | |
(global-set-key (kbd "M-b") 'projectile-switch-to-buffer) | |
;; emacs server + emacsclient | |
(server-start) | |
;; alias a="emacsclient -n" | |
;; How I structure my .emacs.d | |
;; init.el prepares the packages and paths | |
;; etc/ stores the config per mode/package/subject | |
;; lib/ additional code that is not in elpa | |
;; Magit for starters | |
(require 'magit) | |
(defadvice magit-status (around magit-fullscreen activate) | |
(window-configuration-to-register :magit-fullscreen) | |
ad-do-it | |
(delete-other-windows)) | |
(defun magit-quit-session () | |
"Restores the previous window configuration and kills the magit buffer" | |
(interactive) | |
(kill-buffer) | |
(jump-to-register :magit-fullscreen)) | |
(define-key magit-status-mode-map (kbd "q") 'magit-quit-session) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment