From 21719279a742a7c3206cb46480daa6a7d47a404a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 19 Nov 2014 16:09:27 -0800 Subject: [PATCH] alias yes-or-nop to y-or-n-p --- .mc-lists.el | 2 ++ init.el | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.mc-lists.el b/.mc-lists.el index b73dd25c..36c870ef 100644 --- a/.mc-lists.el +++ b/.mc-lists.el @@ -17,11 +17,13 @@ skeleton-pair-insert-maybe tern-ac-dot-complete universal-argument-minus + wdired-finish-edit )) (setq mc/cmds-to-run-once '( delete-horizontal-space + dired-toggle-read-only isearch-delete-char smex )) diff --git a/init.el b/init.el index f604ac9d..f079dbf9 100644 --- a/init.el +++ b/init.el @@ -100,16 +100,18 @@ exec-path-from-shell slime string-inflection yaml-mode sgml-mode dired+ ctags ctags-update helm-gtags hackernews gitconfig-mode aggressive-indent imenu+ weechat evil helm-ag xclip neotree - magit-gh-pulls diminish gist org spotify)) + magit-gh-pulls diminish gist org spotify ghc)) (defvar packages-appearance '(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme - tango-2-theme gotham-theme color-theme-sanityinc-tomorrow smart-mode-line + tango-2-theme gotham-theme smart-mode-line rainbow-delimiters ansi-color)) (ensure-packages-installed packages-essential) (ensure-packages-installed packages-other) (ensure-packages-installed packages-appearance) + +(defalias 'yes-or-no-p 'y-or-n-p) ;; ============================================================================= ;; General Emacs Options @@ -210,6 +212,7 @@ (use-package undo-tree :ensure t + :bind ("C-c u" . undo-tree-visualize) :init (progn (global-undo-tree-mode)