Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (24 sloc) 1.17 KB
;; Set buffer name collision (duplicate) styling
(when (require 'uniquify nil 'noerror)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets))
;; Save whatever files you had open at your last open (~/.emacs.desktop), and don't
;; open/save it if already locked (might have to clean out stale lock files on your own).
;;(when (require 'desktop nil 'noerror)
;; (setq desktop-dirname (expand-file-name "~"))
;; (setq desktop-path (list desktop-dirname))
;; (setq desktop-load-locked-desktop 'nil)
;; (unless (file-exists-p (expand-file-name (desktop-full-lock-name)))
;; (desktop-save-mode 1)))
;; Save your minibuffer history
(setq savehist-file (expand-file-name "~/.emacs.history")
savehist-additional-variables '(search ring regexp-search-ring))
(savehist-mode 1)
;; Better buffer browser
(when (fboundp 'ibuffer)
(global-set-key (kbd "C-x C-b") 'ibuffer))
;; Browse your kill ring buffer
(when (require 'browse-kill-ring nil 'noerror)
(global-set-key (kbd "C-c k") 'browse-kill-ring))
;; Weirdness with linum not being added to features when elc'd.
;(when (or (require 'linum nil 'noerror) (functionp 'global-linum-mode))
; (global-linum-mode))
Jump to Line
Something went wrong with that request. Please try again.