Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (37 sloc) 1.26 KB
;; Interface and appeareances
;;; color-themes
(require 'color-theme)
(load-file "~/.emacs.d/plugins/twilight-emacs/color-theme-twilight.el")
;; Highlight surrounding parentheses.
(require 'highlight-parentheses)
(highlight-parentheses-mode 1)
(add-hook 'find-file-hook 'highlight-parentheses-mode t)
(show-paren-mode 1)
;; Kolumn
;; (require 'column-marker)
(fset 'yes-or-no-p 'y-or-n-p)
;; GUI
(dolist (mode '(menu-bar-mode tool-bar-mode scroll-bar-mode tooltip-mode))
(if (fboundp mode)
(funcall mode -1)))
;; Disable splash screen
(setq inhibit-splash-screen t)
;; fixa copy / paste till andra program
(setq x-select-enable-clipboard t)
;; För line-numbers vid sidan
;; With org-mode, it make crash all emacs with a “Fatal error (10)Bus
;; error” when you try to collapse a tree (S-tab) A similar problem
;; was recently fixed in the Emacs core. Please try the most recent
;; CVS version.
;; linum mode is terribly slow at editing large slow. turning it off
;; for now.
;; (global-linum-mode 1)
(column-number-mode 1)
(setq cua-enable-cua-keys nil)
(setq cua-toggle-set-mark nil)