Created
June 2, 2014 00:24
-
-
Save bergmark/3a80748b941fcac91268 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
;; Projectile | |
(progn | |
(require 'projectile) | |
(projectile-global-mode) | |
(setq projectile-indexing-method 'alien) | |
(setq projectile-enable-caching t)) | |
;; Relax the GC | |
(setq gc-cons-threshold 20000000) | |
;; Better IDO completion | |
(progn | |
(require 'flx-ido) | |
(ido-mode 1) | |
(ido-everywhere 1) | |
(flx-ido-mode 1) | |
; (require 'ido-ubiquitous) | |
(setq ido-use-faces nil)) | |
;; find-file-in-project as the default find-file | |
(global-set-key "\C-x\C-f" 'projectile-find-file) | |
;; Uniquify buffer names | |
(require 'uniquify) | |
(setq uniquify-buffer-name-style 'reverse) | |
(setq uniquify-separator "/") | |
; Rename after killing uniquified. | |
(setq uniquify-after-kill-buffer-p t) | |
; Don't muck with special buffers. | |
(setq uniquify-ignore-buffers-re "^\\*") | |
;; Enable editable dired mode. | |
(add-hook 'dired-mode-hook | |
(lambda () | |
(define-key dired-mode-map | |
"r" 'wdired-change-to-wdired-mode) | |
(setq truncate-lines t))) | |
;; Enable a in dired mode to view a file w/o creating a new buffer. | |
(put 'dired-find-alternate-file 'disabled nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment