mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Disabled fringes and started using linum+ in console and GUI.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user