 ;; Generic emacs settings, other stuff is in individual files in ./my-files/
 
-;; TODO:
-
-;; actions on block: move to next block afterwards?
-
-;; allow grabbing text from point (like for search) in replace
-
-;; learn + bind bookmarks
-
-;; Enable comment command on empty lines
-
-;; goto last change?
-
-;; Fix stupid copy/paste mouse behvaiour
-
-;; Fix actions on block for last block in file
 
 
 ;; Package management

(line-number-mode 1) ;; Line numbers in mode line
(column-number-mode 1) ;; Column numbers in mode line
(global-linum-mode t) ;; Line numbers on edge of screen
(setq backup-directory-alist '(("." . ".~"))) ;; Keep backups in .~/
(setq inhibit-startup-screen t) ;; No startup screen
(set-scroll-bar-mode 'right);; Scroll bar on the right
(global-visual-line-mode 1) ;; Wrap lines at nearest word
(setq truncate-partial-width-windows nil) ;; Make line wrapping work for
                                          ;; multiple frames
(tool-bar-mode -1) ;; Disable toolbar
(menu-bar-mode -1) ;; Disable menu bar

;; Highlight long lines
;; ============================================================
(require 'whitespace)
(set 'whitespace-line-column 80) ;; limit line length
(set 'whitespace-style '(face lines-tail))

(add-hook 'prog-mode-hook 'whitespace-mode)

