13 |
13 |
14 (display-time-mode t) ; show clock |
14 (display-time-mode t) ; show clock |
15 (column-number-mode t) ; show column numbers |
15 (column-number-mode t) ; show column numbers |
16 (delete-selection-mode t) ; replace highlighted text |
16 (delete-selection-mode t) ; replace highlighted text |
17 (windmove-default-keybindings) ; move between windows with shift-arrow |
17 (windmove-default-keybindings) ; move between windows with shift-arrow |
|
18 (setq-default indent-tabs-mode nil) ; mouse hover variables |
18 |
19 |
19 (ido-mode t) ; file/buffer selector |
20 (ido-mode t) ; file/buffer selector |
20 (setq-default ido-enable-flex-matching t) ; fuzzy matching is a must have |
21 (setq-default ido-enable-flex-matching t) ; fuzzy matching is a must have |
21 (add-hook 'text-mode-hook 'flyspell-mode t) ; spellcheck text |
22 (add-hook 'text-mode-hook 'flyspell-mode t) ; spellcheck text |
22 |
23 |
23 ;; coding |
24 ;; coding |
24 (which-func-mode t) ; show current function |
25 (which-func-mode t) ; show current function |
25 (show-paren-mode t) ; show matching paren |
26 (show-paren-mode t) ; show matching paren |
26 (setq-default show-paren-style 'mixed) |
|
27 (transient-mark-mode t) ; show highlighting |
27 (transient-mark-mode t) ; show highlighting |
28 (global-font-lock-mode t) ; syntax highlighting |
28 (global-font-lock-mode t) ; syntax highlighting |
29 (global-whitespace-mode t) ; show whitespace |
29 (global-whitespace-mode t) ; show whitespace |
30 (setq-default whitespace-style '(tab-mark trailing tabs empty)) ; what whitespace elements to show |
30 (setq-default whitespace-style '(tab-mark trailing tabs empty)) ; what whitespace elements to show |
31 (add-hook 'before-save-hook 'whitespace-cleanup) ; cleanup whitespace on exit |
31 (add-hook 'before-save-hook 'whitespace-cleanup) ; cleanup whitespace on exit |
81 (menu-bar-mode nil) ; remove menu bar in no-x mode |
81 (menu-bar-mode nil) ; remove menu bar in no-x mode |
82 (tool-bar-mode nil) ; remove tool bar |
82 (tool-bar-mode nil) ; remove tool bar |
83 (scroll-bar-mode nil) ; remove scroll bar |
83 (scroll-bar-mode nil) ; remove scroll bar |
84 (custom-set-faces '(default ((t (:background "#000000" :foreground "#ffffff" :height 101 :family "DejaVu Sans Mono"))))) |
84 (custom-set-faces '(default ((t (:background "#000000" :foreground "#ffffff" :height 101 :family "DejaVu Sans Mono"))))) |
85 (setq default-frame-alist '((width . 100) (height . 50) (menu-bar-lines . 1))) |
85 (setq default-frame-alist '((width . 100) (height . 50) (menu-bar-lines . 1))) |
|
86 (visual-line-mode t) ; word wrap break on whitespace |
86 |
87 |
87 ;; twilight theme |
88 ;; twilight theme |
88 (require 'color-theme) |
89 (require 'color-theme) |
89 (load "color-theme-twilight") |
90 (load "color-theme-twilight") |
90 (color-theme-twilight) |
91 (color-theme-twilight) |