mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
use uniquify to deal with files of the same name in a better way
This commit is contained in:
@@ -31,6 +31,12 @@
|
||||
(if window-system ()
|
||||
(setq linum+-smart-format "%%%dd " linum+-dynamic-format "%%%dd "))
|
||||
|
||||
;; meaningful names for buffers with the same name
|
||||
(require 'uniquify)
|
||||
(setq uniquify-buffer-name-style 'forward)
|
||||
(setq uniquify-separator "/")
|
||||
(setq uniquify-after-kill-buffer-p t) ; rename after killing uniquified
|
||||
(setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers
|
||||
|
||||
;; Display whitespace characters globally
|
||||
(global-whitespace-mode t)
|
||||
|
||||
Reference in New Issue
Block a user