-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.el.sample
30 lines (22 loc) · 903 Bytes
/
local.el.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;;; -*- emacs-lisp -*-
;;; Site-local configuration
;; Maximize frame
(setq default-frame-alist '((width . 154) (height . 80)))
(setq initial-frame-alist '((width . 154) (height . 80)))
;; Default font face
(when window-system
(set-face-attribute 'default nil :font "Liberation Mono 10"))
;; Slackware/Gentoo uses profile instead of bashrc -- use login shell
(setq explicit-bash-args (quote ("--noediting" "-l" "-i")))
;; Use okular (KDE4) as PDF viewer for TeX
(setq my-TeX-pdf-viewer "okular %o")
;; For old systems
(setq locate-command "slocate")
;; For damn old systems with damn old coreutils
(setq dired-listing-switches "-al -v -h")
;; Upload screenshots to remote FTP by default
(setq screenshot-default-scheme "remote-ftp")
;; Corporative coding style
(add-hook find-file-hook (lambda ()
(if (string-match-p "/work/" (buffer-file-name))
(setq indent-tabs-mode nil)))