emacs: centralise minor modes
This commit is contained in:
parent
5e8a57f41e
commit
6747292dce
1 changed files with 3 additions and 5 deletions
|
@ -12,6 +12,8 @@
|
||||||
(savehist-mode -1)
|
(savehist-mode -1)
|
||||||
(global-hl-line-mode)
|
(global-hl-line-mode)
|
||||||
(column-number-mode)
|
(column-number-mode)
|
||||||
|
(recentf-mode)
|
||||||
|
(save-place-mode)
|
||||||
|
|
||||||
;; basic key binds
|
;; basic key binds
|
||||||
(global-set-key (kbd "C-`") 'other-window)
|
(global-set-key (kbd "C-`") 'other-window)
|
||||||
|
@ -296,13 +298,9 @@
|
||||||
smtpmail-smtp-service 465
|
smtpmail-smtp-service 465
|
||||||
smtpmail-stream-type 'ssl)
|
smtpmail-stream-type 'ssl)
|
||||||
|
|
||||||
;; misc
|
|
||||||
|
|
||||||
;; save files and your position in them
|
|
||||||
(save-place-mode)
|
|
||||||
(recentf-mode)
|
|
||||||
|
|
||||||
|
|
||||||
|
;; enable disabled commands
|
||||||
(put 'dired-find-alternate-file 'disabled nil)
|
(put 'dired-find-alternate-file 'disabled nil)
|
||||||
(put 'downcase-region 'disabled nil)
|
(put 'downcase-region 'disabled nil)
|
||||||
(put 'upcase-region 'disabled nil)
|
(put 'upcase-region 'disabled nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue