]> git.rkrishnan.org Git - .emacs.d.git/blob - emacs/my-generic-stuff.el
e6b5beea4e7cb38c592464c57ea2c4b534340925
[.emacs.d.git] / emacs / my-generic-stuff.el
1 ;; inhibit splash screen
2 (setq inhibit-splash-screen t)
3
4 ;; prevent backup file creation
5 (setq make-backup-files nil)
6
7 (transient-mark-mode t)
8
9 ;; disable startup message
10 (setq inhibit-startup-message t)
11
12 ;; Show column number at bottom of screen
13 (column-number-mode 1)
14
15 ;; alias y to yes and n to no
16 (defalias 'yes-or-no-p 'y-or-n-p)
17
18 ;; Pgup/dn will return exactly to the starting point.
19 (setq scroll-preserve-screen-position 1)
20
21 ;; format the title-bar to always include the buffer name
22 (setq frame-title-format "emacs - %b")
23
24 ;; scroll just one line when hitting the bottom of the window
25 (setq scroll-step 1)
26 (setq scroll-conservatively 1)
27
28 ;; scroll bar
29 (setq toggle-scroll-bar t)
30
31 ;; iswitchb
32 (setq iswitchb-mode t)
33
34 (setq cursor-type 'bar)
35
36 ;; how long to wait?
37 (setq show-paren-delay 0)
38 ;; turn paren-mode on
39
40 ;; alternatives are 'parenthesis' and 'mixed'
41 ;(setq show-paren-style 'expression)
42
43 ;; font lock
44 (global-font-lock-mode t)