activate modes at the bottom of init.el or in the assoc init module

master
John Turner 2 years ago
parent 0feb33b83c
commit 99d0013ea7
No known key found for this signature in database
GPG Key ID: 422FE10CC41A94A2

@ -21,18 +21,6 @@
(when (file-exists-p custom-file) (when (file-exists-p custom-file)
(load custom-file)) (load custom-file))
(cua-mode 1)
(recentf-mode 1)
(savehist-mode 1)
(save-place-mode 1)
(show-paren-mode 1)
(pixel-scroll-mode 1)
(pixel-scroll-precision-mode 1)
(menu-bar-mode 0)
(scroll-bar-mode 0)
(tool-bar-mode 0)
(tooltip-mode 0)
(let ((config-directory (file-name-concat user-emacs-directory "init"))) (let ((config-directory (file-name-concat user-emacs-directory "init")))
(add-to-list 'load-path (file-name-concat config-directory "company")) (add-to-list 'load-path (file-name-concat config-directory "company"))
(add-to-list 'load-path (file-name-concat config-directory "conf-mode")) (add-to-list 'load-path (file-name-concat config-directory "conf-mode"))
@ -96,3 +84,13 @@
(add-to-list 'load-path (file-name-concat local-lisp-directory "man-completion"))) (add-to-list 'load-path (file-name-concat local-lisp-directory "man-completion")))
(require 'man-completion) (require 'man-completion)
(cua-mode 1)
(save-place-mode 1)
(show-paren-mode 1)
(pixel-scroll-mode 1)
(pixel-scroll-precision-mode 1)
(menu-bar-mode 0)
(scroll-bar-mode 0)
(tool-bar-mode 0)
(tooltip-mode 0)

@ -1,4 +1,6 @@
(setq recentf-max-menu-items 25 (setq recentf-max-menu-items 25
recentf-max-saved-items 25) recentf-max-saved-items 25)
(recentf-mode 1)
(provide 'init-recentf) (provide 'init-recentf)

@ -8,4 +8,6 @@
(unless (file-exists-p savehist-file) (unless (file-exists-p savehist-file)
(make-empty-file savehist-file)) (make-empty-file savehist-file))
(savehist-mode 1)
(provide 'init-savehist) (provide 'init-savehist)

Loading…
Cancel
Save