|
|
|
|
@ -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) |
|
|
|
|
|