|
@@ -124,6 +124,7 @@
|
|
(global-set-key (kbd "<home>") 'beginning-of-line)
|
|
(global-set-key (kbd "<home>") 'beginning-of-line)
|
|
(global-set-key (kbd "<end>") 'end-of-line)
|
|
(global-set-key (kbd "<end>") 'end-of-line)
|
|
|
|
|
|
|
|
+;; Custom functions
|
|
(defun reload-dot-emacs ()
|
|
(defun reload-dot-emacs ()
|
|
(interactive)
|
|
(interactive)
|
|
(load-file (file-truename "~/.emacs")))
|
|
(load-file (file-truename "~/.emacs")))
|
|
@@ -147,6 +148,11 @@
|
|
(display-time-mode t)
|
|
(display-time-mode t)
|
|
(display-line-numbers-mode t)
|
|
(display-line-numbers-mode t)
|
|
|
|
|
|
|
|
+;; Perl Config
|
|
|
|
+(setq
|
|
|
|
+ perl-indent-parens-as-block 0
|
|
|
|
+ perl-indent-level 8)
|
|
|
|
+
|
|
;; Load for macOS
|
|
;; Load for macOS
|
|
;;; Slime/etc
|
|
;;; Slime/etc
|
|
(if (eq system-type 'darwin)
|
|
(if (eq system-type 'darwin)
|
|
@@ -180,7 +186,13 @@
|
|
(nano-dark)))
|
|
(nano-dark)))
|
|
|
|
|
|
;; Load for GUI Linux
|
|
;; Load for GUI Linux
|
|
-
|
|
|
|
|
|
+(if (eq system-type 'gnu/linux)
|
|
|
|
+ (if (display-graphic-p)
|
|
|
|
+ (progn
|
|
|
|
+ (load "~/Repos/dotfiles/emacs/linux-load/customs.el")
|
|
|
|
+ (load-theme 'nano t)
|
|
|
|
+ (nano-dark))))
|
|
|
|
+
|
|
;; Load for Term
|
|
;; Load for Term
|
|
(unless (display-graphic-p)
|
|
(unless (display-graphic-p)
|
|
(xterm-mouse-mode t))
|
|
(xterm-mouse-mode t))
|