|
|
@ -1,6 +1,6 @@
|
|
1
|
1
|
;;; better-defaults.el --- Fixing weird quirks and poor defaults
|
|
2
|
2
|
|
|
3
|
|
;; Copyright © 2013 Phil Hagelberg
|
|
|
3
|
;; Copyright © 2013 Phil Hagelberg and contributors
|
|
4
|
4
|
|
|
5
|
5
|
;; Author: Phil Hagelberg
|
|
6
|
6
|
;; URL: https://github.com/technomancy/better-defaults
|
|
|
@ -52,6 +52,9 @@
|
|
52
|
52
|
(when (fboundp 'scroll-bar-mode)
|
|
53
|
53
|
(scroll-bar-mode -1))
|
|
54
|
54
|
|
|
|
55
|
(autoload 'zap-up-to-char "misc"
|
|
|
56
|
"Kill up to, but not including ARGth occurrence of CHAR." t)
|
|
|
57
|
|
|
55
|
58
|
(require 'uniquify)
|
|
56
|
59
|
(setq uniquify-buffer-name-style 'forward)
|
|
57
|
60
|
|
|
|
@ -60,6 +63,7 @@
|
|
60
|
63
|
|
|
61
|
64
|
(global-set-key (kbd "M-/") 'hippie-expand)
|
|
62
|
65
|
(global-set-key (kbd "C-x C-b") 'ibuffer)
|
|
|
66
|
(global-set-key (kbd "M-z") 'zap-up-to-char)
|
|
63
|
67
|
|
|
64
|
68
|
(global-set-key (kbd "C-s") 'isearch-forward-regexp)
|
|
65
|
69
|
(global-set-key (kbd "C-r") 'isearch-backward-regexp)
|
|
|
@ -73,6 +77,10 @@
|
|
73
|
77
|
save-interprogram-paste-before-kill t
|
|
74
|
78
|
apropos-do-all t
|
|
75
|
79
|
mouse-yank-at-point t
|
|
|
80
|
require-final-newline t
|
|
|
81
|
visible-bell t
|
|
|
82
|
load-prefer-newer t
|
|
|
83
|
ediff-window-setup-function 'ediff-setup-windows-plain
|
|
76
|
84
|
save-place-file (concat user-emacs-directory "places")
|
|
77
|
85
|
backup-directory-alist `(("." . ,(concat user-emacs-directory
|
|
78
|
86
|
"backups")))))
|