summary refs log tree commit diff
path: root/emacs.d/modules/module-appareance.el
blob: 53a34fd26855e4f75971f20fdfd743d8661475f0 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;; I don't want a startup screen
(setq inhibit-startup-screen t)

;; fullscreen
(global-set-key (kbd "<s-return>") 'toggle-frame-fullscreen)

;; disable tool bar and the scroll bar
(dolist (mode '(tool-bar-mode scroll-bar-mode))
  (when (fboundp mode) (funcall mode -1)))

;; Set default font.
(set-face-attribute 'default nil :height 130 :weight 'normal :width 'normal)

;; no bell
(setq visible-bell nil)
(setq ring-bell-function 'ignore)

;; don't use native full screen on OS-X
(when (eq system-type 'darwin)
  (setq ns-use-native-fullscreen nil))

;; highlight current line
(global-hl-line-mode 1)

;; cursor is a horizontal bar
(setq-default cursor-type 'hbar)

;; no blinking cursor
(blink-cursor-mode -1)

;; I don't want a frindge on the right
(fringe-mode '(6 . 0))

;; frame title
(setq frame-title-format '( "%f" " [" (:eval mode-name) "]"))

;; show parenthesis
(show-paren-mode +1)

;; show column number in the mode line
(setq column-number-mode t)

;; unclutter the modeline
(use-package diminish)

(provide 'module-appareance)