diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 8b01866..203d606 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -22,6 +22,12 @@ ) ;;-------------------------------------------------------------------------------------- +;; Hide menu bar (Opens up frame real estate in console mode) +;;-------------------------------------------------------------------------------------- + +(menu-bar-mode -1) + +;;-------------------------------------------------------------------------------------- ;; Hide Startup Message ;;-------------------------------------------------------------------------------------- @@ -256,9 +262,18 @@ (setq fci-rule-color "black") (setq fci-rule-column 120) -(add-hook 'after-change-major-mode-hook 'fci-mode) +(setq fci-rule-width 1) +(setq fci-rule-character ?\u2503) ; Solid line unicode character -;;---------------------- --------------------------------------------------------------- +;; A hack to work around FCI wanting to put itself everywhere +(define-globalized-minor-mode global-fci-mode fci-mode + (lambda () + (unless buffer-read-only + (fci-mode t)))) + +(global-fci-mode t) + +;;-------------------------------------------------------------------------------------- ;; Line Numbering - Note: Might not look good with files with 10,000 or more lines ;;-------------------------------------------------------------------------------------- diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 5b848d3..82c5b73 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -2,7 +2,7 @@ (defvar my-packages '(ag auto-complete clojure-mode coffee-mode css-mode circe framemove flycheck esh-help fill-column-indicator flycheck-clojure flycheck-haskell flycheck-rust - flycheck-pos-tip gitignore-mode haskell-mode swiper linum-relative + flycheck-pos-tip gitignore-mode golden-ratio haskell-mode swiper linum-relative js2-mode less-css-mode magit neotree paredit scala-mode2 scss-mode smex powerline projectile rust-mode color-theme-solarized wrap-region stylus-mode rainbow-delimiters) "Packages to make sure are installed")