added fringe and put back line numbers

This commit is contained in:
syl20bnr 2013-01-16 08:10:35 -05:00
parent 7e03b619c4
commit 8e4b428df8
1 changed files with 6 additions and 2 deletions

View File

@ -2,11 +2,12 @@
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(fringe-mode 0)
(fringe-mode t)
;; Show column number in mode line
(setq column-number-mode t)
;; line number
(setq linum-format "%4d ")
(setq linum-format "%4d")
(setq global-linum-mode t)
;; no blink
(blink-cursor-mode (- (*) (*) (*)))
;; tool tips in echo area
@ -21,6 +22,9 @@
;; font
(if (eq window-system 'x)
(set-default-font "DejaVu Sans Mono-10"))
;; highlight current line
(global-hl-line-mode t)
(set-face-background 'hl-line "#073642")
;; setup right and left margins
(add-hook 'window-configuration-change-hook
(lambda ()