rearrange conf
This commit is contained in:
parent
47ccfab30e
commit
33c3445c18
122
conf.org
122
conf.org
|
@ -1,54 +1,6 @@
|
||||||
work in progress
|
work in progress
|
||||||
|
|
||||||
* ui
|
* ui
|
||||||
** remove garbage
|
|
||||||
*** startup screen
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq inhibit-startup-screen t)
|
|
||||||
#+END_SRC
|
|
||||||
*** useless mouse widgets
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(tool-bar-mode -1)
|
|
||||||
(menu-bar-mode -1)
|
|
||||||
(scroll-bar-mode -1)
|
|
||||||
#+END_SRC
|
|
||||||
*** line wrap
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(set-default 'truncate-lines t)
|
|
||||||
#+END_SRC
|
|
||||||
*** autosave/backup files
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq make-backup-files nil)
|
|
||||||
(setq auto-save-default nil)
|
|
||||||
#+END_SRC
|
|
||||||
*** popup windows
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq pop-up-windows nil) ; no popups (eg ediff)
|
|
||||||
#+END_SRC
|
|
||||||
** pretty stuff
|
|
||||||
*** enable line/column numbering
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
;; (global-linum-mode t)
|
|
||||||
(line-number-mode 1)
|
|
||||||
(column-number-mode 1)
|
|
||||||
#+END_SRC
|
|
||||||
*** tab width
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq-default tab-width 4)
|
|
||||||
#+END_SRC
|
|
||||||
*** smooth scrolling
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(setq scroll-conservatively 100)
|
|
||||||
#+END_SRC
|
|
||||||
*** imagemagick
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(when (fboundp 'imagemagick-register-types)
|
|
||||||
(imagemagick-register-types))
|
|
||||||
#+END_SRC
|
|
||||||
** yes-no prompt enhancement
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p) ; eliminate yes or no prompt on killing procs
|
|
||||||
#+END_SRC
|
|
||||||
** theme
|
** theme
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package spacemacs-theme
|
(use-package spacemacs-theme
|
||||||
|
@ -82,14 +34,64 @@ work in progress
|
||||||
(setq nd/theme-window-loaded t)
|
(setq nd/theme-window-loaded t)
|
||||||
(setq nd/theme-terminal-loaded t))))
|
(setq nd/theme-terminal-loaded t))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* printing
|
** modeline
|
||||||
**
|
#+BEGIN_SRC emacs-lisp
|
||||||
* packages
|
(use-package spaceline
|
||||||
** delight
|
:ensure t
|
||||||
|
:config
|
||||||
|
(require 'spaceline-config)
|
||||||
|
(setq powerline-default-separator 'arrow
|
||||||
|
spaceline-buffer-size-p nil)
|
||||||
|
(spaceline-spacemacs-theme))
|
||||||
|
|
||||||
|
(line-number-mode 1)
|
||||||
|
(column-number-mode 1)
|
||||||
|
#+END_SRC
|
||||||
|
*** delight
|
||||||
|
Used to hide minor modes on the modeline
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package delight
|
(use-package delight
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** clean the interface
|
||||||
|
No need for startup screen, tool/menu/scrollbars, or backups
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq inhibit-startup-screen t)
|
||||||
|
|
||||||
|
(tool-bar-mode -1)
|
||||||
|
(menu-bar-mode -1)
|
||||||
|
(scroll-bar-mode -1)
|
||||||
|
|
||||||
|
(setq make-backup-files nil)
|
||||||
|
(setq auto-save-default nil)
|
||||||
|
#+END_SRC
|
||||||
|
** other enhancements
|
||||||
|
*** popup windows
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq pop-up-windows nil) ; no popups (eg ediff)
|
||||||
|
#+END_SRC
|
||||||
|
*** line wrap
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(set-default 'truncate-lines t)
|
||||||
|
#+END_SRC
|
||||||
|
*** tab width
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq-default tab-width 4)
|
||||||
|
#+END_SRC
|
||||||
|
*** smooth scrolling
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq scroll-conservatively 100)
|
||||||
|
#+END_SRC
|
||||||
|
*** imagemagick
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(when (fboundp 'imagemagick-register-types)
|
||||||
|
(imagemagick-register-types))
|
||||||
|
#+END_SRC
|
||||||
|
*** yes-no prompt
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defalias 'yes-or-no-p 'y-or-n-p) ; eliminate yes or no prompt on killing procs
|
||||||
|
#+END_SRC
|
||||||
|
* packages
|
||||||
** beacon
|
** beacon
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package beacon
|
(use-package beacon
|
||||||
|
@ -164,12 +166,6 @@ work in progress
|
||||||
(use-package sudo-edit
|
(use-package sudo-edit
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** typit
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package typit
|
|
||||||
:init
|
|
||||||
:ensure t)
|
|
||||||
#+END_SRC
|
|
||||||
** undo tree
|
** undo tree
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package undo-tree
|
(use-package undo-tree
|
||||||
|
@ -193,16 +189,6 @@ work in progress
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** spaceline
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package spaceline
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
(require 'spaceline-config)
|
|
||||||
(setq powerline-default-separator 'arrow
|
|
||||||
spaceline-buffer-size-p nil)
|
|
||||||
(spaceline-spacemacs-theme))
|
|
||||||
#+END_SRC
|
|
||||||
* library
|
* library
|
||||||
A place for duct tape code that I developed (or lovingly stole from others)
|
A place for duct tape code that I developed (or lovingly stole from others)
|
||||||
** macros
|
** macros
|
||||||
|
|
3
init.el
3
init.el
|
@ -19,8 +19,9 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package typit systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
|
(magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
Loading…
Reference in New Issue