From 6c7bc0462cafb984b0ee696af5f32caa2211aae4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 11 Nov 2014 16:31:59 -0800 Subject: [PATCH] add mc-lists. --- .gitignore | 2 -- .mc-lists.el | 25 +++++++++++++++++++++++++ init.el | 21 ++++++++++----------- 3 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 .mc-lists.el diff --git a/.gitignore b/.gitignore index 2850f093..70c99b60 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,6 @@ url bookmarks elpa -.dir-locals.el -.mc-lists.el .python-environments/ tramp server diff --git a/.mc-lists.el b/.mc-lists.el new file mode 100644 index 00000000..75b063c5 --- /dev/null +++ b/.mc-lists.el @@ -0,0 +1,25 @@ +;; This file is automatically generated by the multiple-cursors extension. +;; It keeps track of your preferences for running commands with multiple cursors. + +(setq mc/cmds-to-run-for-all + '( + dired-do-rename + git-rebase-squash + git-rebase-undo + isearch-forward-regexp + isearch-other-control-char + isearch-printing-char + keyboard-quit + kill-region + python-indent-electric-colon + sgml-slash + skeleton-pair-insert-maybe + universal-argument-minus + )) + +(setq mc/cmds-to-run-once + '( + delete-horizontal-space + isearch-delete-char + smex + )) diff --git a/init.el b/init.el index b432df02..91acf686 100644 --- a/init.el +++ b/init.el @@ -21,9 +21,6 @@ (when (fboundp 'tool-bar-mode) (tool-bar-mode -1)) (when (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) -;; No splash screen please... jeez -(setq inhibit-startup-screen t) - ;; ============================================================================= ;; Load Path Configuration ;; ============================================================================= @@ -38,13 +35,12 @@ ;; ============================================================================= (require 'package) -(when (< emacs-major-version 24) - (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/") t)) -(add-to-list 'package-archives - '("marmalade" . "http://marmalade-repo.org/packages/") t) -(add-to-list 'package-archives - '("melpa" . "http://melpa.org/packages/") t) -(package-initialize) +(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) +(add-to-list 'package-archives '("elpa" . "http://tromey.com/elpa/") t) +(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) +(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) + +(eval-when-compile (package-initialize)) (defvar packages-appearance '(monokai-theme solarized-theme zenburn-theme base16-theme molokai-theme @@ -154,7 +150,7 @@ (ido-everywhere 1) (flx-ido-mode 1) (setq ido-enable-flex-matching t) -(blink-cursor-mode nil) +(blink-cursor-mode -1) (projectile-global-mode) (require 'helm-projectile) (helm-projectile-on) @@ -414,6 +410,9 @@ buffer is not visiting a file." ;; Appearance ;; ============================================================================= +;; No splash screen please... jeez +(setq inhibit-startup-screen t) + ;; make whitespace-mode use just basic coloring (setq whitespace-style (quote (spaces tabs newline ;;space-mark tab-mark newline-mark)))