forked from technomancy/emacs-starter-kit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
loaddefs.el* | ||
backups/* | ||
auto-save-list | ||
custom.el | ||
*elc | ||
places | ||
url/cookies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters