summaryrefslogtreecommitdiff
path: root/conf/km-ui.el
blob: 19c7aac966840e82e3d5aa781b210024f1c6fc1c (plain)
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
;; check km-editor.el if don't find something in here

;; to customize font
(setq default-frame-alist '((font . "Droid Sans Mono-9")))

(require 'font-lock)
(global-font-lock-mode t)
(add-to-list 'auto-mode-alist '("\\.*rc$" . conf-unix-mode))

;; splash screen
(setq inhibit-splash-screen t
      initial-scratch-message nil)

(scroll-bar-mode -1)
(tool-bar-mode -1)
(menu-bar-mode -1)

(setq-default indicate-empty-lines t)
(when (not indicate-empty-lines)
  (toggle-indicate-empty-lines))

(setq echo-keystrokes 0.1
      use-dialog-box nil
      visible-bell t)
(show-paren-mode t)

;; y or n
(defalias 'yes-or-no-p 'y-or-n-p)

;; line info
(line-number-mode t)
(column-number-mode t)
(size-indication-mode t)