From c741641972b98d94c0af4c854683ab4801ba1419 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 17 Aug 2014 14:44:14 -0700 Subject: [PATCH] Random tweaks. --- init.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/init.el b/init.el index 9f29347f..526d1748 100644 --- a/init.el +++ b/init.el @@ -36,15 +36,14 @@ (package-initialize) (defvar my-packages '(color-theme ctags ctags-update flymake mo-git-blame - multiple-cursors no-easy-keys + multiple-cursors latex-preview-pane starter-kit-bindings starter-kit-ruby starter-kit magit ido-ubiquitous find-file-in-project idle-highlight-mode paredit inf-ruby undo-tree rainbow-delimiters smex solarized-theme zenburn-theme scala-mode2 ensime monokai-theme - gitconfig-mode jedi flymake-cursor pytest - latex-preview-pane) + gitconfig-mode jedi flymake-cursor pytest) "Packages that must be installed at launch.") (defun ensure-package-installed (packages) @@ -92,10 +91,6 @@ Return a list of installed packages or nil for every package not installed." (put 'upcase-region 'disabled nil) (put 'downcase-region 'disabled nil) -;; Don't allow arrow keys -(require 'no-easy-keys) -(no-easy-keys 1) - ;; Change the behavior of M- so that it stops on underscores. (defun change-major-mode-hook () (modify-syntax-entry ?_ "_")) (setq c-subword-mode t) @@ -240,8 +235,7 @@ Return a list of installed packages or nil for every package not installed." (fset 'main "if __name__ == '__main__':") ;; Miscellaneous (global-set-key (kbd "C-x C-b") 'buffer-menu) -(global-set-key (kbd "C-x w") 'whitespace-mode) -(global-set-key (kbd "C-c w") 'tmux-copy) +(global-set-key (kbd "C-c w") 'whitespace-mode) (global-set-key (kbd "C-x C-r") (lambda () (interactive) (revert-buffer t t))) (global-set-key (kbd "M-g") 'goto-line) (global-set-key (kbd "C-c C-c") 'comment-dwim)