|
|
|
|
@ -169,6 +169,29 @@ |
|
|
|
|
(add-hook 'text-mode-hook 'flyspell-mode) |
|
|
|
|
(setq flyspell-use-meta-tab nil) |
|
|
|
|
#+END_SRC |
|
|
|
|
** Fringe treatment |
|
|
|
|
*** TODO try linum-relative |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(require 'linum-relative) |
|
|
|
|
(linum-relative-mode 1) |
|
|
|
|
#+END_SRC |
|
|
|
|
Add line numbers globally |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(global-linum-mode 1) |
|
|
|
|
#+END_SRC |
|
|
|
|
Highlight also the linum in the fringe |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(require 'hlinum) |
|
|
|
|
(hlinum-activate) |
|
|
|
|
#+END_SRC |
|
|
|
|
Add marker for current line in the fringe (see |
|
|
|
|
[https://github.com/kyanagi/fringe-current-line]) |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
;; (require 'fringe-current-line) |
|
|
|
|
;; (global-fringe-current-line-mode 1) |
|
|
|
|
;; (setq fcl-fringe-bitmap 'right-triangle) |
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
* Leftovers |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(setq search-whitespace-regexp "[ \t\r\n]+") |
|
|
|
|
@ -200,9 +223,6 @@ |
|
|
|
|
;;(setq kde-full-name "Jacopo De Simoi") |
|
|
|
|
;;(setq kde-email "wilderkde@gmail.com") |
|
|
|
|
|
|
|
|
|
(require 'linum) |
|
|
|
|
(global-linum-mode 1) |
|
|
|
|
|
|
|
|
|
;; (require 'sourcepair) |
|
|
|
|
;; (global-set-key (kbd "<f6>") 'sourcepair-load) |
|
|
|
|
|
|
|
|
|
@ -376,14 +396,6 @@ This is the same as using \\[set-mark-command] with the prefix argument." |
|
|
|
|
|
|
|
|
|
(setq echo-keystrokes 0.10) |
|
|
|
|
|
|
|
|
|
(require 'fringe-current-line) |
|
|
|
|
(global-fringe-current-line-mode 1) |
|
|
|
|
(setq fcl-fringe-bitmap 'right-triangle) |
|
|
|
|
|
|
|
|
|
(require 'hlinum) |
|
|
|
|
(hlinum-activate) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; * Try again with ido |
|
|
|
|
;; ** Load ido |
|
|
|
|
;;(require 'ido) |
|
|
|
|
|