removed fringe and conflicts with window-layout package
This commit is contained in:
parent
226ca0a417
commit
365b8e9d5d
|
@ -2,7 +2,7 @@
|
|||
(tool-bar-mode -1)
|
||||
(menu-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
(fringe-mode t)
|
||||
(set-fringe-mode 0)
|
||||
;; Show column number in mode line
|
||||
(setq column-number-mode t)
|
||||
;; line number
|
||||
|
@ -17,14 +17,10 @@
|
|||
(setq tooltip-use-echo-area t)
|
||||
;; When emacs asks for "yes" or "no", let "y" or "n" sufficide
|
||||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
;; move focus to newly split window
|
||||
(defadvice split-window (after move-point-to-new-window activate)
|
||||
"Moves the point to the newly created window after splitting."
|
||||
(other-window 1))
|
||||
;; font
|
||||
(if (eq window-system 'x)
|
||||
(set-default-font "DejaVu Sans Mono-10"))
|
||||
;; setup right and left margins
|
||||
(add-hook 'window-configuration-change-hook
|
||||
(lambda ()
|
||||
(set-window-margins (car (get-buffer-window-list (current-buffer) nil t)) 0 0)))
|
||||
;; (add-hook 'window-configuration-change-hook
|
||||
;; (lambda ()
|
||||
;; (set-window-margins (car (get-buffer-window-list (current-buffer) nil t)) 0 0)))
|
||||
|
|
Loading…
Reference in New Issue