From 203fe2e6e64af6fdfb409786121382117621a607 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Fri, 24 Nov 2017 18:14:57 -0500 Subject: [PATCH] Categorize stuff --- global.org | 72 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 30 deletions(-) diff --git a/global.org b/global.org index b556392..6855c78 100644 --- a/global.org +++ b/global.org @@ -111,6 +111,20 @@ (setq compilation-scroll-output t compilation-window-height 12) #+END_SRC + Prevent any automatic splitting to split vertically + #+BEGIN_SRC emacs-lisp + (setq split-width-threshold nil) + #+END_SRC +** Scrolling + Scrolling setup + #+BEGIN_SRC emacs-lisp + (setq redisplay-dont-pause t + scroll-margin 3 + scroll-step 1 + scroll-conservatively 10000 + scroll-preserve-screen-position 1) + #+END_SRC + *** TODO find out what this was actually meant to do #+BEGIN_SRC emacs-lisp (setq-default display-buffer-reuse-frames t) @@ -142,20 +156,22 @@ (require 'mic-paren) (paren-activate) #+END_SRC -* Leftovers - #+BEGIN_SRC emacs-lisp +** Abbrevs + Set up abbrevs + #+BEGIN_SRC emacs-lisp (setq-default abbrev-mode t) (read-abbrev-file "~/.abbrev_defs") (setq save-abbrevs t) - - (setq search-whitespace-regexp "[ \t\r\n]+") + #+END_SRC +** Spellcheck + Use flyspell + #+BEGIN_SRC emacs-lisp + (add-hook 'text-mode-hook 'flyspell-mode) (setq flyspell-use-meta-tab nil) - - (setq redisplay-dont-pause t - scroll-margin 3 - scroll-step 1 - scroll-conservatively 10000 - scroll-preserve-screen-position 1) + #+END_SRC +* Leftovers + #+BEGIN_SRC emacs-lisp + (setq search-whitespace-regexp "[ \t\r\n]+") (defvar outline-minor-mode-prefix "\M-#") @@ -184,8 +200,6 @@ ;;(setq kde-full-name "Jacopo De Simoi") ;;(setq kde-email "wilderkde@gmail.com") -(add-hook 'text-mode-hook 'flyspell-mode) - (require 'linum) (global-linum-mode 1) @@ -372,23 +386,23 @@ This is the same as using \\[set-mark-command] with the prefix argument." ;; * Try again with ido ;; ** Load ido -(require 'ido) -(ido-mode t) +;;(require 'ido) +;;(ido-mode t) ;; ** Organize ibuffer according to some rules -(setq ibuffer-saved-filter-groups - (quote (("default" - ("LaTeχ" (mode . latex-mode)) - ("Magit" (name . "^\\*magit.*$")) - ("elisp" (mode . emacs-lisp-mode)) - ("org" (mode . org-mode)) - ("emacs" (or - (name . "^\\*scratch\\*$") - (name . "^\\*Messages\\*$") - (name . "^\\*compilation\\*$"))))))) - -(add-hook 'ibuffer-mode-hook - '(lambda () - (ibuffer-switch-to-saved-filter-groups "default"))) +;;(setq ibuffer-saved-filter-groups +;; (quote (("default" +;; ("LaTeχ" (mode . latex-mode)) +;; ("Magit" (name . "^\\*magit.*$")) +;; ("elisp" (mode . emacs-lisp-mode)) +;; ("org" (mode . org-mode)) +;; ("emacs" (or +;; (name . "^\\*scratch\\*$") +;; (name . "^\\*Messages\\*$") +;; (name . "^\\*compilation\\*$"))))))) +;; +;;(add-hook 'ibuffer-mode-hook +;; '(lambda () +;; (ibuffer-switch-to-saved-filter-groups "default"))) ;; * mode-line setup @@ -486,8 +500,6 @@ This is the same as using \\[set-mark-command] with the prefix argument." ;; it does not wark perfectly as some packages are still to be loaded ;; (most notably magit) -;; Prevent any automatic splitting to split vertically -(setq split-width-threshold nil) (mapc (lambda (face)