Skip to content

Instantly share code, notes, and snippets.

@bergmark
Created October 8, 2012 16:39
Show Gist options
  • Select an option

  • Save bergmark/3853491 to your computer and use it in GitHub Desktop.

Select an option

Save bergmark/3853491 to your computer and use it in GitHub Desktop.
;; 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)
;; Perform partial matching on both filenames and buffer names
(setq ido-enable-flex-matching t)
@bergmark

bergmark commented Oct 8, 2012

Copy link
Copy Markdown
Author
;; 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 "^\\*")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment