Disabled fringes and started using linum+ in console and GUI.

This commit is contained in:
2012-03-20 01:52:21 +00:00
parent ec1acc0bf8
commit c3982e3d15
3 changed files with 6 additions and 7 deletions

View File

@@ -26,10 +26,9 @@
;; Highlight current line globally
(global-hl-line-mode t)
;; Customize line numbers when running in a console
(unless window-system
(setq linum+-smart-format "%%%dd ")
(setq linum+-dynamic-format "%%%dd "))
;; Customize line numbers
(setq linum+-smart-format " %%%dd ")
(setq linum+-dynamic-format " %%%dd ")
;; meaningful names for buffers with the same name
(require 'uniquify)

View File

@@ -37,7 +37,7 @@
'(fci-handle-truncate-lines nil)
'(fci-rule-width 1)
'(fill-column 78)
'(fringe-mode (quote (4 . 4)) nil (fringe))
'(fringe-mode 0 nil (fringe))
'(global-auto-revert-mode t)
'(global-undo-tree-mode t)
'(history-length 500)

View File

@@ -168,8 +168,8 @@
(require 'undo-tree)
;; Load Linum+
(unless window-system
(require 'linum+))
(when (require 'linum+ nil 'noerror)
(setq linum-format 'dynamic))
;; Load full-ack
(require 'full-ack)