~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/bash_profile: Force a sensible Qt style.
[profile]
/
dot
/
emacs
diff --git
a/dot/emacs
b/dot/emacs
index
648c562
..
1062254
100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-97,6
+97,9
@@
(require 'paren)
(trap (show-paren-mode t))
(or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1))
(require 'paren)
(trap (show-paren-mode t))
(or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1))
+(setq x-select-enable-clipboard nil
+ x-select-enable-primary t
+ mouse-drag-copy-region t)
;; Multiple cursors.
;; Multiple cursors.
@@
-134,6
+137,11
@@
(and edit
(set-process-query-on-exit-flag edit nil)))))))
(and edit
(set-process-query-on-exit-flag edit nil)))))))
+;; Saving state.
+
+(or mdw-fast-startup (savehist-mode 1))
+(setq history-length 200)
+
;; Control backup behaviour.
(setq backup-by-copying nil)
;; Control backup behaviour.
(setq backup-by-copying nil)
@@
-594,6
+602,11
@@
(global-set-key [?\C-c ?t ?r] 'timeclock-reread-log)
(global-set-key [?\C-c ?t ?w] 'timeclock-workday-remaining-string)
(global-set-key [?\C-c ?t ?s] 'timeclock-status-string)
(global-set-key [?\C-c ?t ?r] 'timeclock-reread-log)
(global-set-key [?\C-c ?t ?w] 'timeclock-workday-remaining-string)
(global-set-key [?\C-c ?t ?s] 'timeclock-status-string)
+ (global-set-key [?\C-c ?m ?m] 'magit-status)
+ (global-set-key [?\C-c ?m ?d] 'magit-dispatch-popup)
+ (global-set-key [?\C-c ?m ?w] 'magit-wip-log)
+ (global-set-key [?\C-c ?m ?r] 'magit-list-repositories)
+ (global-set-key [?\C-c ?k] 'compile)
(global-set-key [?\C-x ?3] 'mdw-split-window-horizontally)
(global-set-key [?\M-#] 'calc-dispatch)
(global-set-key [?\C-x ?/] 'auto-fill-mode)
(global-set-key [?\C-x ?3] 'mdw-split-window-horizontally)
(global-set-key [?\M-#] 'calc-dispatch)
(global-set-key [?\C-x ?/] 'auto-fill-mode)
@@
-828,6
+841,7
@@
(progn
(setq-default py-indent-offset 2
python-indent 2
(progn
(setq-default py-indent-offset 2
python-indent 2
+ python-indent-offset 2
py-python-command-args
`("-i" "-colors" ,(if mdw-black-background
"Linux" "LightBG")))
py-python-command-args
`("-i" "-colors" ,(if mdw-black-background
"Linux" "LightBG")))