Categorize stuff

master
Jacopo De Simoi 9 years ago
parent 7aac271940
commit 203fe2e6e6
  1. 70
      global.org

@ -111,6 +111,20 @@
(setq compilation-scroll-output t (setq compilation-scroll-output t
compilation-window-height 12) compilation-window-height 12)
#+END_SRC #+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 *** TODO find out what this was actually meant to do
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq-default display-buffer-reuse-frames t) (setq-default display-buffer-reuse-frames t)
@ -142,20 +156,22 @@
(require 'mic-paren) (require 'mic-paren)
(paren-activate) (paren-activate)
#+END_SRC #+END_SRC
* Leftovers ** Abbrevs
Set up abbrevs
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq-default abbrev-mode t) (setq-default abbrev-mode t)
(read-abbrev-file "~/.abbrev_defs") (read-abbrev-file "~/.abbrev_defs")
(setq save-abbrevs t) (setq save-abbrevs t)
#+END_SRC
(setq search-whitespace-regexp "[ \t\r\n]+") ** Spellcheck
Use flyspell
#+BEGIN_SRC emacs-lisp
(add-hook 'text-mode-hook 'flyspell-mode)
(setq flyspell-use-meta-tab nil) (setq flyspell-use-meta-tab nil)
#+END_SRC
(setq redisplay-dont-pause t * Leftovers
scroll-margin 3 #+BEGIN_SRC emacs-lisp
scroll-step 1 (setq search-whitespace-regexp "[ \t\r\n]+")
scroll-conservatively 10000
scroll-preserve-screen-position 1)
(defvar outline-minor-mode-prefix "\M-#") (defvar outline-minor-mode-prefix "\M-#")
@ -184,8 +200,6 @@
;;(setq kde-full-name "Jacopo De Simoi") ;;(setq kde-full-name "Jacopo De Simoi")
;;(setq kde-email "wilderkde@gmail.com") ;;(setq kde-email "wilderkde@gmail.com")
(add-hook 'text-mode-hook 'flyspell-mode)
(require 'linum) (require 'linum)
(global-linum-mode 1) (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 ;; * Try again with ido
;; ** Load ido ;; ** Load ido
(require 'ido) ;;(require 'ido)
(ido-mode t) ;;(ido-mode t)
;; ** Organize ibuffer according to some rules ;; ** Organize ibuffer according to some rules
(setq ibuffer-saved-filter-groups ;;(setq ibuffer-saved-filter-groups
(quote (("default" ;; (quote (("default"
("LaTeχ" (mode . latex-mode)) ;; ("LaTeχ" (mode . latex-mode))
("Magit" (name . "^\\*magit.*$")) ;; ("Magit" (name . "^\\*magit.*$"))
("elisp" (mode . emacs-lisp-mode)) ;; ("elisp" (mode . emacs-lisp-mode))
("org" (mode . org-mode)) ;; ("org" (mode . org-mode))
("emacs" (or ;; ("emacs" (or
(name . "^\\*scratch\\*$") ;; (name . "^\\*scratch\\*$")
(name . "^\\*Messages\\*$") ;; (name . "^\\*Messages\\*$")
(name . "^\\*compilation\\*$"))))))) ;; (name . "^\\*compilation\\*$")))))))
;;
(add-hook 'ibuffer-mode-hook ;;(add-hook 'ibuffer-mode-hook
'(lambda () ;; '(lambda ()
(ibuffer-switch-to-saved-filter-groups "default"))) ;; (ibuffer-switch-to-saved-filter-groups "default")))
;; * mode-line setup ;; * 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 ;; it does not wark perfectly as some packages are still to be loaded
;; (most notably magit) ;; (most notably magit)
;; Prevent any automatic splitting to split vertically
(setq split-width-threshold nil)
(mapc (mapc
(lambda (face) (lambda (face)

Loading…
Cancel
Save