2015-08-25 18:35:20 +00:00
|
|
|
(custom-set-variables
|
|
|
|
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
|
|
|
|
;; Your init file should contain only one such instance.
|
|
|
|
'(c-basic-offset 2)
|
|
|
|
'(c-tab-always-indent t)
|
|
|
|
'(canlock-password "201dd6597717bea7c6569288a099ce4c838cd1a7")
|
|
|
|
'(case-fold-search t)
|
|
|
|
'(current-language-environment "English")
|
|
|
|
'(default-input-method "latin-1-prefix")
|
|
|
|
'(global-font-lock-mode t nil (font-lock))
|
|
|
|
'(make-backup-files nil)
|
|
|
|
'(pc-select-meta-moves-sexps t)
|
|
|
|
'(pc-select-selection-keys-only t)
|
|
|
|
'(pc-selection-mode t t)
|
|
|
|
'(php-file-patterns nil)
|
|
|
|
'(show-paren-mode t nil (paren))
|
|
|
|
'(transient-mark-mode t)
|
|
|
|
'(version-control (quote never)))
|
|
|
|
(custom-set-faces
|
|
|
|
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
|
|
|
|
;; Your init file should contain only one such instance.
|
|
|
|
'(mmm-default-submode-face ((t nil))))
|
|
|
|
(put 'narrow-to-region 'disabled nil)
|
|
|
|
|
|
|
|
;; *** User-added stuff *** ;;
|
|
|
|
|
|
|
|
;; General custom variables
|
|
|
|
(setq require-final-newline 't)
|
|
|
|
(set-language-environment "UTF-8")
|
|
|
|
|
|
|
|
;; Kill GUI elements
|
|
|
|
(menu-bar-mode 0)
|
|
|
|
(tool-bar-mode 0)
|
|
|
|
(scroll-bar-mode -1)
|
|
|
|
|
|
|
|
;; *** Programming
|
|
|
|
(global-set-key (kbd "C-x g") 'goto-line)
|
|
|
|
(define-key global-map (kbd "<f5>") 'recompile)
|
|
|
|
(setq-default indent-tabs-mode nil)
|
2015-09-21 16:59:30 +00:00
|
|
|
(setq-default tab-width 4)
|
|
|
|
(setq-default python-indent-offset 2)
|
|
|
|
(setq-default css-indent-offset 2)
|
2015-09-14 01:03:48 +00:00
|
|
|
(column-number-mode)
|
2015-08-25 18:35:20 +00:00
|
|
|
|
|
|
|
;; Git support
|
2015-09-06 16:57:44 +00:00
|
|
|
(add-to-list 'load-path "/usr/share/doc/git/contrib/emacs")
|
2015-08-25 18:35:20 +00:00
|
|
|
(require 'git)
|
|
|
|
(require 'git-blame)
|
|
|
|
|
|
|
|
;; Markdown support (requires emacs-goodies)
|
|
|
|
(autoload 'markdown-mode "markdown-mode"
|
|
|
|
"Major mode for editing Markdown files" t)
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
|