summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el26
1 files changed, 25 insertions, 1 deletions
diff --git a/init.el b/init.el
index 8ed7423..1527ac4 100644
--- a/init.el
+++ b/init.el
@@ -54,8 +54,32 @@
(require 'use-package)
(require 'diminish)
-;; Initialize appearance
+;; Show full frame windows for certain commands
+(use-package fullframe
+ :ensure t
+ )
+
+;; ---------------------------------------------------------------------
+;; Stolen from purcell/emacs.d/init-utils.el
+(defmacro after-load (feature &rest body)
+ "After FEATURE is loaded, evaluate BODY."
+ (declare (indent defun))
+ `(eval-after-load ,feature
+ '(progn ,@body)))
+
+(defun sanityinc/string-all-matches (regex str &optional group)
+ "Find all matches for `REGEX' within `STR', returning the full match string or group `GROUP'."
+ (let ((result nil)
+ (pos 0)
+ (group (or group 0)))
+ (while (string-match regex str pos)
+ (push (match-string group str) result)
+ (setq pos (match-end group)))
+ result))
+;; ---------------------------------------------------------------------
+
(require 'ravi-init-ido)
(require 'ravi-init-marks)
(require 'ravi-init-appearance)
(require 'ravi-init-files)
+(require 'ravi-init-vc)