Skip to content

Commit

Permalink
moving customizations to custom.el
Browse files Browse the repository at this point in the history
  • Loading branch information
btbytes committed Jul 28, 2010
1 parent 6a2fc35 commit 7dcce53
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,7 +1,6 @@
loaddefs.el*
backups/*
auto-save-list
custom.el
*elc
places
url/cookies
Expand Down
29 changes: 29 additions & 0 deletions custom.el
@@ -0,0 +1,29 @@
;;
;; custom config/bindings.
;;

;;C-c ms magit-status
(global-set-key (kbd "C-c ms") 'magit-status)

;;Line truncation. See http://bit.ly/bzFM05
(setq truncate-lines t)

;; color theme
(require 'color-theme)
(color-theme-zenburn)

;; ;; (require 'pandoc)
(add-hook 'markdown-mode-hook 'turn-on-pandoc)

;; whitespace mode.

(require 'whitespace)
(autoload 'whitespace-mode
"whitespace" "Toggle whitespace visualization." t)
(autoload 'global-whitespace-toggle-options
"whitespace" "Toggle global `whitespace-mode' options." t)

(global-set-key "\C-c_w" 'whitespace-mode)
(global-set-key "\C-c_t" 'whitespace-toggle-options)
(global-set-key "\C-c=w" 'global-whitespace-mode)
(global-set-key "\C-c=t" 'global-whitespace-toggle-options)
11 changes: 0 additions & 11 deletions pradeep.el
Expand Up @@ -2,14 +2,3 @@
;; Pradeep Gowda's customisations.
;;

;;C-c ms magit-status
(global-set-key (kbd "C-c ms") 'magit-status)

;;Line truncation. See http://bit.ly/bzFM05
(setq truncate-lines t)

;; ;; (require 'pandoc)
(add-hook 'markdown-mode-hook 'turn-on-pandoc)

;; show trailing white spaces.
(setq show-trailing-whitespace 't)

0 comments on commit 7dcce53

Please sign in to comment.